view libpurple/plugins/mono/api/BuddyList.cs @ 21134:abc18354ef66

fix allowing to be added, some old fix was lost during one of the merges that I did
author Ka-Hing Cheung <khc@hxbc.us>
date Sun, 04 Nov 2007 04:41:09 +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();
		}		
	}
}