view plugins/mono/api/Signal.cs @ 13066:0afb445a3433

[gaim-migrate @ 15428] Don't assume the popular statuses start at the 5th menu item in the dropdown. I hope this is a step toward fixing the bug where inifinite status windows appear. If not, it is at least more robust code. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 29 Jan 2006 22:11:35 +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);
		}
	}
}