view plugins/mono/api/BuddyList.cs @ 13494:2d1ccccde3d4

[gaim-migrate @ 15870] Resolves CID 92 Event var_compare_op: Added "gc" due to comparison "gc != 0" 1633 if (gc != NULL) 1634 prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(gc->prpl); Event var_deref_model: Variable "gc" tracked as NULL was passed to a function that dereferences it. [model] 1641 menu = create_chat_menu (conv, who, prpl_info, gc); committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Mon, 13 Mar 2006 17:58:43 +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();
		}		
	}
}