Thu, 25 Jan 2007 08:11:21 +0000
sf patch #1639901, from Saleem Abdulrasool
Fix the build failure of the Mono example dlls due to the
Mono API change
| 11660 | 1 | using Gaim; |
| 2 | ||
|
20466
4cb7f3b19ffa
sf patch #1639901, from Saleem Abdulrasool
Mark Doliner <markdoliner@pidgin.im>
parents:
14254
diff
changeset
|
3 | public class GetBuddyBack : Plugin |
| 11660 | 4 | { |
|
20466
4cb7f3b19ffa
sf patch #1639901, from Saleem Abdulrasool
Mark Doliner <markdoliner@pidgin.im>
parents:
14254
diff
changeset
|
5 | private static PluginInfo info = new PluginInfo("C# Get Buddy Back", "0.1", "Prints when a Buddy returns", "Longer Description", "Eoin Coffey", "urled"); |
|
4cb7f3b19ffa
sf patch #1639901, from Saleem Abdulrasool
Mark Doliner <markdoliner@pidgin.im>
parents:
14254
diff
changeset
|
6 | |
|
4cb7f3b19ffa
sf patch #1639901, from Saleem Abdulrasool
Mark Doliner <markdoliner@pidgin.im>
parents:
14254
diff
changeset
|
7 | public GetBuddyBack() |
|
4cb7f3b19ffa
sf patch #1639901, from Saleem Abdulrasool
Mark Doliner <markdoliner@pidgin.im>
parents:
14254
diff
changeset
|
8 | : base (info) |
|
4cb7f3b19ffa
sf patch #1639901, from Saleem Abdulrasool
Mark Doliner <markdoliner@pidgin.im>
parents:
14254
diff
changeset
|
9 | { |
|
4cb7f3b19ffa
sf patch #1639901, from Saleem Abdulrasool
Mark Doliner <markdoliner@pidgin.im>
parents:
14254
diff
changeset
|
10 | } |
|
4cb7f3b19ffa
sf patch #1639901, from Saleem Abdulrasool
Mark Doliner <markdoliner@pidgin.im>
parents:
14254
diff
changeset
|
11 | |
| 11660 | 12 | public void HandleSig(object[] args) |
| 13 | { | |
| 14 | Buddy buddy = (Buddy)args[0]; | |
| 15 | ||
| 16 | Debug.debug(Debug.INFO, "buddyback", "buddy " + buddy.Name + " is back!\n"); | |
| 17 | } | |
| 18 | ||
| 19 | public override void Load() | |
| 20 | { | |
| 21 | Debug.debug(Debug.INFO, "buddyback", "loading...\n"); | |
| 22 | ||
| 23 | /*Signal.connect(BuddyList.GetHandle(), this, "buddy-back", new Signal.Handler(HandleSig));*/ | |
|
11980
fe5c2c58508c
[gaim-migrate @ 14273]
Eoin Coffey <ecoffey@soc.pidgin.im>
parents:
11660
diff
changeset
|
24 | /*BuddyList.OnBuddyBack.connect(this, new Signal.Handler(HandleSig));*/ |
| 11660 | 25 | } |
| 26 | ||
| 27 | public override void Unload() | |
| 28 | { | |
| 29 | } | |
| 30 | ||
| 31 | public override void Destroy() | |
| 32 | { | |
| 33 | } | |
| 34 | } |