libpurple/plugins/mono/api/Event.cs

Sat, 24 Mar 2007 06:27:57 +0000

author
Richard Laager <rlaager@pidgin.im>
date
Sat, 24 Mar 2007 06:27:57 +0000
changeset 15940
53d1e0af8279
parent 15435
4b933b06d75e
child 16238
33bf2fd32108
child 18068
b6554e3c8224
child 20478
46933dc62880
permissions
-rw-r--r--

Gaim -> Purple rename for the Mono plugin. These changes make sense, and it
compiles, but other than that, I haven't tested anything.

using System;

namespace Purple
{
	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