view plugins/mono/api/Event.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;

namespace Gaim
{
	public class Event
	{
		private IntPtr handle;
		private string signal;
		
		public Event(IntPtr h, string s)
		{
			handle = h;
			signal = s;
		}
	
		public void connect(object plugin, Signal.Handler handler)
		{
			Signal.connect(handle, plugin, signal, handler);
		}
	}
}