view plugins/mono/api/Event.cs @ 12684:2e4e02b72e43

[gaim-migrate @ 15027] SF Patch #1393857 from Steve Cavilia 'This will make gaim-remote accept "aim" as a protocol name as an alias for "oscar," so the traditional aim:goim?... links will work' I also special-cased ICQ. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Mon, 02 Jan 2006 09:01:52 +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);
		}
	}
}