# HG changeset patch # User Mark Doliner # Date 1169712681 0 # Node ID fb83c1d7e15429d0810154037243ab60f7f625e0 # Parent 590d00c472d373bf8602f270b989d940351062f6 sf patch #1639901, from Saleem Abdulrasool Fix the build failure of the Mono example dlls due to the Mono API change diff -r 590d00c472d3 -r fb83c1d7e154 COPYRIGHT --- a/COPYRIGHT Thu Jan 25 07:54:39 2007 +0000 +++ b/COPYRIGHT Thu Jan 25 08:11:21 2007 +0000 @@ -4,6 +4,7 @@ If you have contributed to Gaim, you deserve to be on this list. Contact us (see: AUTHORS) and we'll add you. +Saleem Abdulrasool Dave Ahlswede Manuel Amador Matt Amato diff -r 590d00c472d3 -r fb83c1d7e154 libgaim/plugins/mono/GetBuddyBack.cs --- a/libgaim/plugins/mono/GetBuddyBack.cs Thu Jan 25 07:54:39 2007 +0000 +++ b/libgaim/plugins/mono/GetBuddyBack.cs Thu Jan 25 08:11:21 2007 +0000 @@ -1,7 +1,14 @@ using Gaim; -public class GetBuddyBack : GaimPlugin +public class GetBuddyBack : Plugin { + private static PluginInfo info = new PluginInfo("C# Get Buddy Back", "0.1", "Prints when a Buddy returns", "Longer Description", "Eoin Coffey", "urled"); + + public GetBuddyBack() + : base (info) + { + } + public void HandleSig(object[] args) { Buddy buddy = (Buddy)args[0]; @@ -24,9 +31,4 @@ public override void Destroy() { } - - public override GaimPluginInfo Info() - { - return new GaimPluginInfo("C# Get Buddy Back", "0.1", "Prints when a Buddy returns", "Longer Description", "Eoin Coffey", "urled"); - } } diff -r 590d00c472d3 -r fb83c1d7e154 libgaim/plugins/mono/MPlugin.cs --- a/libgaim/plugins/mono/MPlugin.cs Thu Jan 25 07:54:39 2007 +0000 +++ b/libgaim/plugins/mono/MPlugin.cs Thu Jan 25 08:11:21 2007 +0000 @@ -1,7 +1,14 @@ using Gaim; -public class MPlugin : GaimPlugin +public class MPlugin : Plugin { + private static PluginInfo info = new PluginInfo("C# Plugin", "0.1", "Test C# Plugin", "Longer Description", "Eoin Coffey", "urled"); + + public MPlugin() + : base(info) + { + } + public void HandleSig(object[] args) { Buddy buddy = (Buddy)args[0]; @@ -28,9 +35,4 @@ { Debug.debug(Debug.INFO, "mplug", "destroying...\n"); } - - public override GaimPluginInfo Info() - { - return new GaimPluginInfo("C# Plugin", "0.1", "Test C# Plugin", "Longer Description", "Eoin Coffey", "urled"); - } }