view libpurple/plugins/mono/api/BuddyList.cs @ 26933:f500336f9881

Fix building on Windows and better integrate the new signals with the pre-existing ones. committer: Paul Aurich <paul@darkrain42.org>
author Etan Reisner <pidgin@unreliablesource.net>
date Fri, 22 May 2009 04:08:38 +0000
parents 93bfbda79bf6
children
line wrap: on
line source

namespace Purple {
	using System;
	using System.Runtime.CompilerServices;

	public class BuddyList {
		[MethodImplAttribute(MethodImplOptions.InternalCall)]
		extern private static IntPtr _get_handle();

		private static IntPtr handle = _get_handle();
		
		public static Event OnBuddyStatusChanged =
			new Event(handle, "buddy-status-changed");
		
		public static IntPtr GetHandle()
		{
			return _get_handle();
		}		
	}
}