view plugins/mono/api/Signal.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;
using System.Runtime.CompilerServices;

namespace Gaim
{
	public class Signal
	{
		[MethodImplAttribute(MethodImplOptions.InternalCall)]
		extern private static int _connect(IntPtr handle, object plugin, string signal, object evnt);
		
		public delegate void Handler(object[] args);
		
		public static int connect(IntPtr handle, object plugin, string signal, object evnt)
		{
			return _connect(handle, plugin, signal, evnt);
		}
	}
}