view plugins/mono/api/Signal.cs @ 13681:c4be649e2aca

[gaim-migrate @ 16084] Fixed a bug where you wouldn't become auto-away when idle if you're a new user and you haven't selected which status to use when auto-awaying. Also improved a few comments. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 23 Apr 2006 02:57:08 +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);
		}
	}
}