view plugins/mono/api/Event.cs @ 13831:3c6d0c24179a

[gaim-migrate @ 16280] Kill this warning when using libxml: xmlnode.c:560: warning: unused variable ¡Æcontext¡Ç committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Mon, 19 Jun 2006 04:49:12 +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);
		}
	}
}