summaryrefslogtreecommitdiff
path: root/project2/common/scriptLoader.h
diff options
context:
space:
mode:
Diffstat (limited to 'project2/common/scriptLoader.h')
-rw-r--r--project2/common/scriptLoader.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/project2/common/scriptLoader.h b/project2/common/scriptLoader.h
index ca888cf..032d6c7 100644
--- a/project2/common/scriptLoader.h
+++ b/project2/common/scriptLoader.h
@@ -6,7 +6,7 @@
#include <boost/intrusive_ptr.hpp>
#include "intrusivePtrBase.h"
#include "sourceObject.h"
-#include "genLoader.h"
+#include <factory.h>
#include "scripts_fwd.h"
#include <glibmm/ustring.h>
#include <map>
@@ -29,7 +29,7 @@ class LoaderBase {
LoaderBase();
virtual ~LoaderBase();
- void collectAll(const CommonObjects * co, bool childrenOnly, ScriptNodePtr script);
+ void collectAll(const CommonObjects * co, bool childrenOnly);
void addLoadTarget(ScriptNodePtr src, boost::intrusive_ptr<Storer> target);
void addLoadTargetSub(ScriptNodePtr src, const Glib::ustring & name, bool required, boost::intrusive_ptr<Storer> target);
void discardLoadTargets();
@@ -45,8 +45,5 @@ class LoaderBase {
const Glib::ustring ns;
};
-/// Helper for loading and maintaining Project2 script components
-typedef GenLoader<SourceObject, std::string, ScriptNodePtr> ElementLoader;
-
#endif