From: <the...@us...> - 2007-01-25 08:09:04
|
Revision: 18172 http://svn.sourceforge.net/gaim/?rev=18172&view=rev Author: thekingant Date: 2007-01-25 00:09:04 -0800 (Thu, 25 Jan 2007) Log Message: ----------- sf patch #1639901, from Saleem Abdulrasool Fix the build failure of the Mono example dlls due to the Mono API change Modified Paths: -------------- trunk/COPYRIGHT trunk/libgaim/plugins/mono/GetBuddyBack.cs trunk/libgaim/plugins/mono/MPlugin.cs Modified: trunk/COPYRIGHT =================================================================== --- trunk/COPYRIGHT 2007-01-25 07:44:39 UTC (rev 18171) +++ trunk/COPYRIGHT 2007-01-25 08:09:04 UTC (rev 18172) @@ -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 Modified: trunk/libgaim/plugins/mono/GetBuddyBack.cs =================================================================== --- trunk/libgaim/plugins/mono/GetBuddyBack.cs 2007-01-25 07:44:39 UTC (rev 18171) +++ trunk/libgaim/plugins/mono/GetBuddyBack.cs 2007-01-25 08:09:04 UTC (rev 18172) @@ -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"); - } } Modified: trunk/libgaim/plugins/mono/MPlugin.cs =================================================================== --- trunk/libgaim/plugins/mono/MPlugin.cs 2007-01-25 07:44:39 UTC (rev 18171) +++ trunk/libgaim/plugins/mono/MPlugin.cs 2007-01-25 08:09:04 UTC (rev 18172) @@ -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"); - } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |