libpurple/plugins/mono/api/BuddyList.cs

Sat, 24 Mar 2007 06:27:57 +0000

author
Richard Laager <rlaager@pidgin.im>
date
Sat, 24 Mar 2007 06:27:57 +0000
changeset 15940
53d1e0af8279
parent 15435
4b933b06d75e
child 16238
33bf2fd32108
child 18068
b6554e3c8224
child 20478
46933dc62880
permissions
-rw-r--r--

Gaim -> Purple rename for the Mono plugin. These changes make sense, and it
compiles, but other than that, I haven't tested anything.

15940
53d1e0af8279 Gaim -> Purple rename for the Mono plugin. These changes make sense, and it
Richard Laager <rlaager@pidgin.im>
parents: 15435
diff changeset
1 namespace Purple {
15055
dc3454f0f1e3 [gaim-migrate @ 17772]
Gary Kramlich <grim@reaperworld.com>
parents: 14254
diff changeset
2 using System;
dc3454f0f1e3 [gaim-migrate @ 17772]
Gary Kramlich <grim@reaperworld.com>
parents: 14254
diff changeset
3 using System.Runtime.CompilerServices;
11660
a7cf8f7d43b3 [gaim-migrate @ 13945]
Eoin Coffey <ecoffey@soc.pidgin.im>
parents:
diff changeset
4
15055
dc3454f0f1e3 [gaim-migrate @ 17772]
Gary Kramlich <grim@reaperworld.com>
parents: 14254
diff changeset
5 public class BuddyList {
11660
a7cf8f7d43b3 [gaim-migrate @ 13945]
Eoin Coffey <ecoffey@soc.pidgin.im>
parents:
diff changeset
6 [MethodImplAttribute(MethodImplOptions.InternalCall)]
a7cf8f7d43b3 [gaim-migrate @ 13945]
Eoin Coffey <ecoffey@soc.pidgin.im>
parents:
diff changeset
7 extern private static IntPtr _get_handle();
a7cf8f7d43b3 [gaim-migrate @ 13945]
Eoin Coffey <ecoffey@soc.pidgin.im>
parents:
diff changeset
8
a7cf8f7d43b3 [gaim-migrate @ 13945]
Eoin Coffey <ecoffey@soc.pidgin.im>
parents:
diff changeset
9 private static IntPtr handle = _get_handle();
a7cf8f7d43b3 [gaim-migrate @ 13945]
Eoin Coffey <ecoffey@soc.pidgin.im>
parents:
diff changeset
10
15055
dc3454f0f1e3 [gaim-migrate @ 17772]
Gary Kramlich <grim@reaperworld.com>
parents: 14254
diff changeset
11 public static Event OnBuddyStatusChanged =
dc3454f0f1e3 [gaim-migrate @ 17772]
Gary Kramlich <grim@reaperworld.com>
parents: 14254
diff changeset
12 new Event(handle, "buddy-status-changed");
11660
a7cf8f7d43b3 [gaim-migrate @ 13945]
Eoin Coffey <ecoffey@soc.pidgin.im>
parents:
diff changeset
13
a7cf8f7d43b3 [gaim-migrate @ 13945]
Eoin Coffey <ecoffey@soc.pidgin.im>
parents:
diff changeset
14 public static IntPtr GetHandle()
a7cf8f7d43b3 [gaim-migrate @ 13945]
Eoin Coffey <ecoffey@soc.pidgin.im>
parents:
diff changeset
15 {
a7cf8f7d43b3 [gaim-migrate @ 13945]
Eoin Coffey <ecoffey@soc.pidgin.im>
parents:
diff changeset
16 return _get_handle();
a7cf8f7d43b3 [gaim-migrate @ 13945]
Eoin Coffey <ecoffey@soc.pidgin.im>
parents:
diff changeset
17 }
a7cf8f7d43b3 [gaim-migrate @ 13945]
Eoin Coffey <ecoffey@soc.pidgin.im>
parents:
diff changeset
18 }
a7cf8f7d43b3 [gaim-migrate @ 13945]
Eoin Coffey <ecoffey@soc.pidgin.im>
parents:
diff changeset
19 }

mercurial