view libpurple/plugins/mono/api/Event.cs @ 30100:3c09870e8564

ALICE sends a "603 Decline" to our DC request, so we need to fallback to a regular transfer in this case as well.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Wed, 26 May 2010 23:15:06 +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);
		}
	}
}