view plugins/mono/api/Event.cs @ 11803:b4602ccb4e69

[gaim-migrate @ 14094] sf patch #1336293, from Sadrul Habib Chowdhury Fix saving/restoring Yahoo! accounts in the away state. See the patch description for details committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 24 Oct 2005 23:13:50 +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);
		}
	}
}