view plugins/mono/api/Event.cs @ 12770:ab00cea25ef2

[gaim-migrate @ 15117] I think this is what was actually intended in get_my_ip(). Likewise with simple_udp_process(), although I don't think it'd be possible to use that extra byte anyway. committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Mon, 09 Jan 2006 03:36: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);
		}
	}
}