view libpurple/plugins/mono/api/Event.cs @ 29372:529233281dfe

network: Use getifaddrs() to enumerate local interfaces/IPs if available. On Linux, it seems SIOCGIFCONF just doesn't support IPv6, and various systems have getifaddrs(), so here we are. Fixes #10160.
author Paul Aurich <paul@darkrain42.org>
date Tue, 16 Feb 2010 02:21:33 +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);
		}
	}
}