view libpurple/plugins/mono/api/Event.cs @ 19104:eb49b371cf9a

FIX: Setting an INT field in preferences wasn't working properly. We were checking for a FIELD_LIST but doing the same thing all the time.
author Eric Polino <aluink@pidgin.im>
date Tue, 19 Jun 2007 14:32:08 +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);
		}
	}
}