diff options
Diffstat (limited to 'project2/common/environment.cpp')
-rw-r--r-- | project2/common/environment.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/project2/common/environment.cpp b/project2/common/environment.cpp index a996408..69f853c 100644 --- a/project2/common/environment.cpp +++ b/project2/common/environment.cpp @@ -4,22 +4,6 @@ const Environment * Environment::currentEnv(NULL); -DECLARE_OPTIONS(Environment, "Project2 Common options") -("common.datasourceRoot", Options::value(&datasourceRoot, "datasources"), - "The folder in which to find datasource definitions") -("common.namespace", Options::value(&scriptNamespace, "http://project2.randomdan.homeip.net"), - "The namespace to use for Project2 components and responses") -("common.namespacePrefix", Options::value(&scriptNamespacePrefix, "project2"), - "The namespace prefix to use for the Project2 namespace") -("common.sessionTimeOut", Options::value(&sessionTimeOut, 3600), - "The time after which idle sessions are forgotten") -END_OPTIONS(Environment); - -time_t Environment::sessionTimeOut; -std::string Environment::scriptNamespacePrefix; -std::string Environment::scriptNamespace; -std::string Environment::datasourceRoot; - Environment::Environment() { currentEnv = this; |