view libpurple/plugins/mono/api/Event.cs @ 28623:a401d3500a75

Add some more MSN client caps. Not that we actually use any of them.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Mon, 23 Nov 2009 06: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);
		}
	}
}