summaryrefslogtreecommitdiff
path: root/project2/common/environment.h
diff options
context:
space:
mode:
Diffstat (limited to 'project2/common/environment.h')
-rw-r--r--project2/common/environment.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/project2/common/environment.h b/project2/common/environment.h
index 944010a..accbb80 100644
--- a/project2/common/environment.h
+++ b/project2/common/environment.h
@@ -4,6 +4,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 "exceptions.h"
@@ -40,6 +41,9 @@ class Environment {
int slLevel;
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:
std::string datasourceRoot;