view libpurple/plugins/mono/api/Event.cs @ 17142:9fd39a035729

explicit merge of '61827fc1671b97df72194ee9722ed122cb45c29f' and 'fd6c233ae7838b2c5e1e8a177019a21f91e4a923' to branch 'im.pidgin.pidgin'
author Richard Laager <rlaager@wiktel.com>
date Sat, 19 May 2007 07:52:26 +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);
		}
	}
}