view libpurple/plugins/mono/api/Event.cs @ 26845:70fdb6fc8aee

Make the JabberCapsTuple (nee Key) available to the rest of the prpl
author Paul Aurich <paul@darkrain42.org>
date Thu, 07 May 2009 23:46:11 +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);
		}
	}
}