view libpurple/plugins/mono/api/Event.cs @ 25315:f080f47565db

I hope I still remember how to NEWS.
author Etan Reisner <pidgin@unreliablesource.net>
date Mon, 12 Jan 2009 04:45:22 +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);
		}
	}
}