view plugins/mono/api/Event.cs @ 12493:ee1944ebda45

[gaim-migrate @ 14805] I'm backing out Joshua's patch that 'fixed' creating a new account without saving the password because the bug it was fixing was already fixed. Creating an account and specifying the password does actually connect the first time, which I think was the consenus for what is expected to happen. committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Fri, 16 Dec 2005 01:55:09 +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);
		}
	}
}