view plugins/mono/api/BuddyList.cs @ 12665:cdbef02c91e9

[gaim-migrate @ 15008] SF Patch #1390129 from Sadrul "I have never used this plugin. But I have been noticing a warning about this iconaway plugin in the debug-window for a long time. This patch at least gets rid of that. This patch may also make it work as was intended. But I am not sure." I don't use this plugin either. This looks correct to me. Someone that really uses it should verify. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Wed, 28 Dec 2005 09:01:41 +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();
		}		
	}
}