libpurple/plugins/mono/api/BuddyList.cs

Sat, 24 Mar 2007 06:27:57 +0000

author
Richard Laager <rlaager@pidgin.im>
date
Sat, 24 Mar 2007 06:27:57 +0000
changeset 15940
53d1e0af8279
parent 15435
4b933b06d75e
child 16238
33bf2fd32108
child 18068
b6554e3c8224
child 20478
46933dc62880
permissions
-rw-r--r--

Gaim -> Purple rename for the Mono plugin. These changes make sense, and it
compiles, but other than that, I haven't tested anything.

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

mercurial