view plugins/mono/api/Event.cs @ 11827:f588ced280bf

[gaim-migrate @ 14118] Comment changes, plus I removed some of the win32 placeholder stuff. I figured I would've broken it by changing the comments, and we probably don't need it anyway. I'm sure someone familiar with wingaim will fix this if I'm wrong. ;) committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Wed, 26 Oct 2005 00:31:45 +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);
		}
	}
}