view plugins/mono/api/Event.cs @ 12131:cb7ccb5048cf

[gaim-migrate @ 14431] SF Patch #1357001 from Sadrul "If you have a conversation-tab open, and you get disconnected (or reconnected), the tab does not update until you change focus to/from the tab. This patch fixes that." committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Fri, 18 Nov 2005 12:52:29 +0000
parents a3302d271199
children
line wrap: on
line source

using System;

namespace Gaim
{
	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);
		}
	}
}