view libpurple/plugins/mono/api/Event.cs @ 28824:5259ca10b641

Show the name of the account in the "Set Friendly Name" dialog. Fixes #3749.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Wed, 23 Dec 2009 07:13:27 +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);
		}
	}
}