view libpurple/plugins/mono/api/Event.cs @ 20808:e96daf6bc511

I basically copied most of http://developer.pidgin.im/wiki/CHowTo/ChoosingPluginIds into plugin-ids.dox.
author Will Thompson <will.thompson@collabora.co.uk>
date Sun, 07 Oct 2007 19:07:06 +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);
		}
	}
}