view plugins/mono/api/Event.cs @ 13802:a93eeef163a9

[gaim-migrate @ 16216] Part of SF Patch #1500267 from Sadrul 'Fix for a couple of showstopper bugs on status + RFE "The message should be cleared when changing statuses, not saved as it is now." committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Sun, 04 Jun 2006 08:14:25 +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);
		}
	}
}