view plugins/mono/api/Event.cs @ 13214:812e2de69c90

[gaim-migrate @ 15578] Patch from Bj??rn Voigt: * early character set conversation for the segfault message * new formating of the English segfault message (URLs are now alone on a line with out a trailing dot - this makes copying of the URLs easier) committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Fri, 10 Feb 2006 21:16:18 +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);
		}
	}
}