view libgaim/plugins/mono/api/Event.cs @ 14763:175d85e4c8fa

[gaim-migrate @ 17520] This is no longer an issue as of datallah's commit, revision #17509 committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Wed, 18 Oct 2006 15:27:38 +0000
parents 60b1bc8dbf37
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);
		}
	}
}