view libgaim/plugins/mono/api/BuddyList.cs @ 15055:577ddea3ab82

[gaim-migrate @ 17839] I find this to be slightly cleaner committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 28 Nov 2006 09:18:20 +0000
parents 58849b67f00d
children
line wrap: on
line source

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