view plugins/mono/api/Event.cs @ 12064:658623020748

[gaim-migrate @ 14359] SF Patch #1355592 from Sadrul 'If I uncheck the "Show formatting on incoming messages", then it also starts ignoring the format of the outgoing messages -- which I don't believe is the intended behaviour. This patch fixes that.' committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Sun, 13 Nov 2005 01:03:43 +0000
parents a3302d271199
children
line wrap: on
line source

using System;

namespace Gaim
{
	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);
		}
	}
}