view libpurple/plugins/mono/api/Event.cs @ 25278:7bc52fed6fdb

Remove a handful of string utility functions from perl, they are generally better handled by perl's built-in functions and at least two of them are reported to crash currently. References #6562
author Etan Reisner <pidgin@unreliablesource.net>
date Wed, 07 Jan 2009 03:31:23 +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);
		}
	}
}