view libgaim/plugins/mono/api/BuddyList.cs @ 15104:cb7eef7bf550

[gaim-migrate @ 17890] Fix up some of the example perl plugins. They still could use some work, but these will at least load now. committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Mon, 04 Dec 2006 04:52:46 +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();
		}		
	}
}