Mercurial > pidgin
annotate plugins/mono/api/BuddyList.cs @ 11799:a3c28707ef4d
[gaim-migrate @ 14090]
Stop passing around GaimConversations and then pretending they're GaimGtkConversations -- fixes buddy icon animation and two related crashes. --Kevin Stange
committer: Tailor Script <tailor@pidgin.im>
author | Gary Kramlich <grim@reaperworld.com> |
---|---|
date | Mon, 24 Oct 2005 20:33:06 +0000 |
parents | a3302d271199 |
children | 67fbd2ff4c4e |
rev | line source |
---|---|
11660 | 1 using System; |
2 using System.Runtime.CompilerServices; | |
3 | |
4 namespace Gaim | |
5 { | |
6 public class BuddyList | |
7 { | |
8 [MethodImplAttribute(MethodImplOptions.InternalCall)] | |
9 extern private static IntPtr _get_handle(); | |
10 | |
11 private static IntPtr handle = _get_handle(); | |
12 | |
13 public static Event OnBuddyAway = new Event(handle, "buddy-away"); | |
14 public static Event OnBuddyBack = new Event(handle, "buddy-back"); | |
15 | |
16 public static IntPtr GetHandle() | |
17 { | |
18 return _get_handle(); | |
19 } | |
20 } | |
21 } |