view plugins/mono/api/Event.cs @ 12950:96cf4e176ff8

[gaim-migrate @ 15303] updating tooltip to be a bit more condensed, and to honor the newly added full parameter. Also using the default name for the available status committer: Tailor Script <tailor@pidgin.im>
author Christopher O'Brien <siege@pidgin.im>
date Thu, 19 Jan 2006 18:09:06 +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);
		}
	}
}