Mercurial > pidgin
comparison libpurple/plugins/mono/MPlugin.cs @ 15876:80ee585fb53c
SF Patch #1686400 from Eoin Coffey ("ecoffey")
ecoffey described the changes:
1) Small tweaks to the loader to bring it up to speed with new mono
versions and API wrapper changes that grim had made. (was in original
patch, just forgot about it :-P)
2) .NET Plugins are now required to define an Id as part of their info.
3) Modified gaim_probe_plugin to check for existence of info->id and to
make sure it's not empty; Prints an error, stores an error in the plugin
and sets plugin->unloadable = TRUE.
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sat, 24 Mar 2007 06:24:59 +0000 |
parents | 7ae72b7c02b1 |
children |
comparison
equal
deleted
inserted
replaced
15874:23367ba62f59 | 15876:80ee585fb53c |
---|---|
1 using Gaim; | 1 using Purple; |
2 | 2 |
3 public class MPlugin : Plugin | 3 public class MPlugin : Plugin |
4 { | 4 { |
5 private static PluginInfo info = new PluginInfo("C# Plugin", "0.1", "Test C# Plugin", "Longer Description", "Eoin Coffey", "urled"); | 5 private static PluginInfo info = new PluginInfo("mono-mplugin", "C# Plugin", "0.1", "Test C# Plugin", "Longer Description", "Eoin Coffey", "urled"); |
6 | 6 |
7 public MPlugin() | 7 public MPlugin() |
8 : base(info) | 8 : base(info) |
9 { | 9 { |
10 } | 10 } |