view plugins/mono/api/Signal.cs @ 14005:d856c2ec93ca

[gaim-migrate @ 16590] (03:00:12) chaosite: SIZE_OF_TIME_T in gtkconv.c:6533 as well (03:08:48) chaosite: rlaager: ping (03:09:22) chaosite: rlaager: svn says that SIZE_OF_TIME_T in log.c:609 is your commit (03:09:31) chaosite: rlaager: it should be SIZEOF_TIME_T committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Fri, 28 Jul 2006 12:19:56 +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);
		}
	}
}