core/plugins/mono/api/Event.cs

Sat, 16 Dec 2006 04:59:55 +0000

author
Ethan Blanton <elb@pidgin.im>
date
Sat, 16 Dec 2006 04:59:55 +0000
changeset 14253
b63ebf84c42b
parent 11660
plugins/mono/api/Event.cs@a7cf8f7d43b3
permissions
-rw-r--r--

This is a hand-crafted commit to migrate across subversion revisions
16854:16861, due to some vagaries of the way the original renames were
done. Witness that monotone can do in one revision what svn had to
spread across several.

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);
		}
	}
}

mercurial