Mercurial > pidgin
annotate libgaim/plugins/mono/api/BuddyList.cs @ 15065:e53cceebebb3
[gaim-migrate @ 17849]
Update the Perl HOWTO to include working samples and various other fixes.
In order to actually do this, I had to also make some fixes to the perl bindings.
committer: Tailor Script <tailor@pidgin.im>
| author | Daniel Atallah <daniel.atallah@gmail.com> |
|---|---|
| date | Wed, 29 Nov 2006 23:46:55 +0000 |
| parents | 58849b67f00d |
| children |
| rev | line source |
|---|---|
|
14993
58849b67f00d
[gaim-migrate @ 17772]
Gary Kramlich <grim@reaperworld.com>
parents:
14192
diff
changeset
|
1 namespace Gaim { |
|
58849b67f00d
[gaim-migrate @ 17772]
Gary Kramlich <grim@reaperworld.com>
parents:
14192
diff
changeset
|
2 using System; |
|
58849b67f00d
[gaim-migrate @ 17772]
Gary Kramlich <grim@reaperworld.com>
parents:
14192
diff
changeset
|
3 using System.Runtime.CompilerServices; |
| 14192 | 4 |
|
14993
58849b67f00d
[gaim-migrate @ 17772]
Gary Kramlich <grim@reaperworld.com>
parents:
14192
diff
changeset
|
5 public class BuddyList { |
| 14192 | 6 [MethodImplAttribute(MethodImplOptions.InternalCall)] |
| 7 extern private static IntPtr _get_handle(); | |
| 8 | |
| 9 private static IntPtr handle = _get_handle(); | |
| 10 | |
|
14993
58849b67f00d
[gaim-migrate @ 17772]
Gary Kramlich <grim@reaperworld.com>
parents:
14192
diff
changeset
|
11 public static Event OnBuddyStatusChanged = |
|
58849b67f00d
[gaim-migrate @ 17772]
Gary Kramlich <grim@reaperworld.com>
parents:
14192
diff
changeset
|
12 new Event(handle, "buddy-status-changed"); |
| 14192 | 13 |
| 14 public static IntPtr GetHandle() | |
| 15 { | |
| 16 return _get_handle(); | |
| 17 } | |
| 18 } | |
| 19 } |
