view libpurple/plugins/mono/api/Event.cs @ 18474:069849fb77c0

disapproval of revision '872f027c46dce251e1ce50a76817a0d7c609147d' A temporary branch to fix a naming mess.
author Eric Polino <aluink@pidgin.im>
date Mon, 16 Jul 2007 20:18:48 +0000
parents 93bfbda79bf6
children
line wrap: on
line source

using System;

namespace Purple
{
	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);
		}
	}
}