view plugins/mono/api/Event.cs @ 11704:96a9462583c1

[gaim-migrate @ 13995] I'm not sure what dd was, but it certainly isn't being used now if as its never set to anything, and fully removing it stops us from crashing. committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Thu, 20 Oct 2005 21:21:49 +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);
		}
	}
}