view libpurple/plugins/mono/api/Event.cs @ 25326:62a5a41c3dfd

Remove the "buggy" caveat -- I've been running it for a while and it works for me.
author Paul Aurich <paul@darkrain42.org>
date Wed, 14 Jan 2009 06:32:04 +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);
		}
	}
}