view plugins/mono/api/BuddyList.cs @ 13543:d05d8bcabbfb

[gaim-migrate @ 15920] I've learned that G_HAVE_GINT64 has been deprecated since glib 2.0. gint64 is always available. I'm submitting patches to update glib's documentation. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Tue, 21 Mar 2006 03:01:37 +0000
parents 67fbd2ff4c4e
children
line wrap: on
line source

using System;
using System.Runtime.CompilerServices;

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