view libpurple/plugins/mono/api/Event.cs @ 22517:89a036334991

Register and unregister the PurpleConnectionErrorInfo pointers with dbus, I noticed DBus was screaming about them in the debug log of an unrelated ticket.
author Etan Reisner <pidgin@unreliablesource.net>
date Tue, 26 Feb 2008 01:33:35 +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);
		}
	}
}