diff options
Diffstat (limited to 'project2/common/environment.h')
-rw-r--r-- | project2/common/environment.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/project2/common/environment.h b/project2/common/environment.h index a7f8f4b..7b5e976 100644 --- a/project2/common/environment.h +++ b/project2/common/environment.h @@ -3,10 +3,7 @@ #include <string> #include <glibmm/ustring.h> -#include <boost/function.hpp> #include <boost/tuple/tuple.hpp> -#include <boost/filesystem/path.hpp> -#include "optionsSource.h" #include "options.h" #include "exceptions.h" #include "scripts.h" @@ -18,14 +15,11 @@ class Environment { Environment(); virtual ~Environment() = 0; - void init(); - static const Environment * getCurrent(); virtual Glib::ustring getParamQuery(const std::string & idx) const = 0; virtual std::string getServerName() const = 0; - virtual std::string getScriptName() const = 0; virtual const Glib::ustring & platform() const = 0; ScriptReaderPtr resolveScript(const std::string & group, const std::string & name, bool ii) const; @@ -34,15 +28,11 @@ class Environment { private: static const Environment * currentEnv; - typedef std::vector<OptionsSourcePtr> ConfigsMap; - ConfigsMap configs; typedef boost::tuple<const std::string, const std::string> ScriptKey; typedef std::map<ScriptKey, ScriptReaderPtr> ScriptCache; mutable ScriptCache scriptCache; public: - static int clLevel; - static int slLevel; static std::string datasourceRoot; static std::string scriptNamespace; static std::string scriptNamespacePrefix; |