view libpurple/plugins/mono/api/Event.cs @ 19758:a514b3fb1720

fixes #3041 assuming this is the same miles committer: Luke Schierer <lschiere@pidgin.im>
author Martin Srebotnjak <miles@filmsi.net>
date Tue, 11 Sep 2007 22:58:03 +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);
		}
	}
}