view plugins/mono/api/Event.cs @ 12009:8a7553e149de

[gaim-migrate @ 14302] This should fix a crash Ethan is seeing when his gg account fails to sign on at startup. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 08 Nov 2005 23:44:00 +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);
		}
	}
}