added: plugin mechanism
files: core/plugin.h core/plugin.cpp core/pluginmsg.h added: directory 'main' with main.cpp (moved from 'core' directory) changed: the way of building nearly everything is in cmslu.so only main() is in cmslu and is dynamically linked with cmslu.so git-svn-id: svn://ttmath.org/publicrep/cmslu/trunk@516 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#include "config.h"
|
||||
#include "log.h"
|
||||
#include "data.h"
|
||||
#include "plugin.h"
|
||||
|
||||
|
||||
Config::Config()
|
||||
@@ -119,6 +120,9 @@ void Config::AssignValues()
|
||||
|
||||
data.session_max_iddle = Int("session_max_iddle");
|
||||
data.compression = Bool("compression");
|
||||
|
||||
std::string p = Text("plugin");
|
||||
data.plugin_file.push_back(p);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user