view plugins/mono/api/BuddyList.cs @ 13556:c5c14bb91c28

[gaim-migrate @ 15934] Adding a DBUS example script written by Sadrul. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Thu, 23 Mar 2006 18:42:25 +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();
		}		
	}
}