view libpurple/plugins/mono/api/Event.cs @ 18866:e7314d58ebe6

merge of '568907d26b94a41acc8768523cdc469bdf385d2c' and '90af3f4273c546393e7066ee5f281a8417cb3876'
author Will Thompson <will.thompson@collabora.co.uk>
date Fri, 10 Aug 2007 17:45:05 +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);
		}
	}
}