view plugins/mono/api/Event.cs @ 13112:f1ed04b5aa30

[gaim-migrate @ 15474] Make the dinky little icons for status menu items in the system tray reflect what the status actually is. BECAUSE THAT'S THE KIND OF POWER I WEILD. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Fri, 03 Feb 2006 04:43:06 +0000
parents a3302d271199
children
line wrap: on
line source

using System;

namespace Gaim
{
	public class Event
	{
		private IntPtr handle;
		private string signal;
		
		public Event(IntPtr h, string s)
		{
			handle = h;
			signal = s;
		}
	
		public void connect(object plugin, Signal.Handler handler)
		{
			Signal.connect(handle, plugin, signal, handler);
		}
	}
}