view libpurple/plugins/mono/api/Event.cs @ 19467:286438542b24

ACK for EvilDennisR
author Ethan Blanton <elb@pidgin.im>
date Mon, 27 Aug 2007 17:21:35 +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);
		}
	}
}