changed: the way how plugins work
all your plugin functions can have signature either: void my_function(PluginInfo & info); or void my_function(); only the main Init should have: extern "C" void Init(PluginFunction & info); added: directory 'plugins' for plugins added: 'stats' plugin git-svn-id: svn://ttmath.org/publicrep/winix/trunk@624 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -79,7 +79,6 @@ bool Config::ReadConfig(bool errors_to_stdout_)
|
||||
if( status == ConfParser::ok )
|
||||
{
|
||||
AssignValues();
|
||||
|
||||
data.SetAdditionalVariables();
|
||||
return true;
|
||||
}
|
||||
@@ -151,7 +150,7 @@ void Config::AssignValues()
|
||||
data.title_separator = Text("title_separator", " / ");
|
||||
|
||||
|
||||
ListText(data.plugin_file, "plugin");
|
||||
ListText(data.plugin_file, "plugins");
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user