view libpurple/plugins/mono/api/Event.cs @ 16684:a0cae757170f

merge of '65f2c26feb0bf8de0c50edb97ab36ff815b40daa' and '7cab5e68b0e84a50800a767e4c5ea7316591b846'
author Tim Ringenbach <marv@pidgin.im>
date Wed, 25 Apr 2007 01:12:47 +0000
parents 93bfbda79bf6
children
line wrap: on
line source

using System;

namespace Purple
{
	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);
		}
	}
}