view libpurple/plugins/mono/api/Event.cs @ 25303:432d62fdfd2f

Add the updated Polish translation to the ChangeLog
author Stu Tomlinson <stu@nosnilmot.com>
date Sun, 11 Jan 2009 18:14:07 +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);
		}
	}
}