view libpurple/plugins/mono/api/Event.cs @ 15879:93bfbda79bf6

Gaim -> Purple rename for the Mono plugin. These changes make sense, and it compiles, but other than that, I haven't tested anything.
author Richard Laager <rlaager@wiktel.com>
date Sat, 24 Mar 2007 06:27:57 +0000
parents 5fe8042783c1
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);
		}
	}
}