view libpurple/plugins/mono/api/Event.cs @ 28988:5f00c19d462f

POTFILES: Mark family_oservice.c for translation for the rate limit warning. On a related note: Is there a reason this warning (to the debug log) is translated?
author Paul Aurich <paul@darkrain42.org>
date Sun, 07 Feb 2010 00:18:50 +0000
parents 93bfbda79bf6
children
line wrap: on
line source

using System;

namespace Purple
{
	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);
		}
	}
}