summaryrefslogtreecommitdiff
path: root/project2/common/commonObjects.h
diff options
context:
space:
mode:
Diffstat (limited to 'project2/common/commonObjects.h')
-rw-r--r--project2/common/commonObjects.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/project2/common/commonObjects.h b/project2/common/commonObjects.h
index fe6bd5c..2e00442 100644
--- a/project2/common/commonObjects.h
+++ b/project2/common/commonObjects.h
@@ -13,7 +13,9 @@ class CommonObjects : public virtual IntrusivePtrBase {
SimpleMessageException(DataSourceNotFound);
SimpleMessageException(DataSourceNotCompatible);
- virtual ~CommonObjects();
+ CommonObjects();
+ CommonObjects(ScriptReaderPtr script);
+ ~CommonObjects();
RowSetPtr getSource(const std::string &) const;
template <class DataSourceType>
@@ -29,9 +31,13 @@ class CommonObjects : public virtual IntrusivePtrBase {
}
return s;
}
+ void loadScriptComponents() const;
+
protected:
RowSets rowSets;
mutable DataSources datasources;
+ mutable ScriptReaderPtr script;
+
private:
DataSources::const_iterator loadDataSource(const std::string & name) const;
};