view libpurple/plugins/mono/api/Event.cs @ 16030:00a4de6880da

I think I'm committing the more recent version of this translation
author Luke Schierer <lschiere@pidgin.im>
date Mon, 09 Apr 2007 13:02:46 +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);
		}
	}
}