libpurple/plugins/mono/api/BuddyList.cs

Mon, 12 May 2014 21:22:30 +0200

author
Tomasz Wasilczyk <twasilczyk@pidgin.im>
date
Mon, 12 May 2014 21:22:30 +0200
branch
release-2.x.y
changeset 36026
ee9d95cb8ee6
parent 15940
53d1e0af8279
child 16238
33bf2fd32108
child 18068
b6554e3c8224
child 20478
46933dc62880
permissions
-rw-r--r--

Fix coverity log_reader issues

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