view plugins/mono/api/Event.cs @ 12059:7bef0fa7d4aa

[gaim-migrate @ 14354] The previous commit didn't work because wb.{c,h} were not added to the SILC sources in Makefile.am; this fixes SILC whiteboard so it actually compiles. Oops. committer: Tailor Script <tailor@pidgin.im>
author Ethan Blanton <elb@pidgin.im>
date Sat, 12 Nov 2005 23:11:23 +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);
		}
	}
}