view libpurple/plugins/mono/api/Event.cs @ 32708:c2df5063d430

It appears that no-one needs this AopMenu struct after the combo box is updated.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Thu, 29 Dec 2011 05:40:11 +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);
		}
	}
}