view plugins/mono/api/Signal.cs @ 12131:cb7ccb5048cf

[gaim-migrate @ 14431] SF Patch #1357001 from Sadrul "If you have a conversation-tab open, and you get disconnected (or reconnected), the tab does not update until you change focus to/from the tab. This patch fixes that." committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Fri, 18 Nov 2005 12:52:29 +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);
		}
	}
}