view libpurple/plugins/mono/api/Event.cs @ 17597:751fbc2eff7e

merge of '3b80bf600e31f234766ed90a7bba5ea586178f08' and '3c31f6f6c8e998f6e9c550e05bf5dfdcdc9bb154'
author Stu Tomlinson <stu@nosnilmot.com>
date Mon, 11 Jun 2007 13:08:54 +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);
		}
	}
}