view libpurple/plugins/mono/api/Event.cs @ 24582:fce52fff8496

We'll need to update the copyright date in a bunch of places in a month
author Mark Doliner <mark@kingant.net>
date Tue, 02 Dec 2008 18:22:35 +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);
		}
	}
}