view libgaim/plugins/mono/api/Event.cs @ 15151:d1014e749b4e

[gaim-migrate @ 17937] Pass the password for the account, if one has been specified, to gaim_connection_new() when doing an account registration request. This allows autofilling of the password field if a subsequent dialogue is displayed (as with Jabber). committer: Tailor Script <tailor@pidgin.im>
author Evan Schoenberg <evan.s@dreskin.net>
date Sun, 10 Dec 2006 05:55:02 +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);
		}
	}
}