view plugins/mono/api/Signal.cs @ 13168:bdb8d7beb5a7

[gaim-migrate @ 15531] Sorry about that; the build bot is pickier than the static libgaim compilation I tested this on. I'll be sure to compile Gaim proper before committing in the future. committer: Tailor Script <tailor@pidgin.im>
author Evan Schoenberg <evan.s@dreskin.net>
date Tue, 07 Feb 2006 19:50:14 +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);
		}
	}
}