view plugins/mono/api/Signal.cs @ 13534:1685dcd6b3a5

[gaim-migrate @ 15911] When you have specified an existing file as the target of a file transfer, the dialog confirming the overwrite should have buttons that make the actions clear. This is more HIG compliant, requested in a feature request, and I think it's a good idea. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Tue, 21 Mar 2006 00:50:58 +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);
		}
	}
}