view libpurple/plugins/mono/api/Event.cs @ 31730:4bdf4e5e6d67

Add a plugin information dialog that shows information for all plugins, even hidden plugins, loader plugins, and protocol plugins.
author John Bailey <rekkanoryo@rekkanoryo.org>
date Sat, 09 Jul 2011 22:27:13 +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);
		}
	}
}