view plugins/mono/api/BuddyList.cs @ 13283:4dcd0fba99a9

[gaim-migrate @ 15649] Part of SF Patch #1431281 from Sadrul This fixes a leak. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Tue, 14 Feb 2006 07:48:11 +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();
		}		
	}
}