diff options
Diffstat (limited to 'project2/common/sourceObject.h')
-rw-r--r-- | project2/common/sourceObject.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/project2/common/sourceObject.h b/project2/common/sourceObject.h index 6a6df55..4d10dd4 100644 --- a/project2/common/sourceObject.h +++ b/project2/common/sourceObject.h @@ -1,17 +1,19 @@ #ifndef SOURCEOBJECT_H #define SOURCEOBJECT_H -#include <libxml++/nodes/element.h> #include <boost/intrusive_ptr.hpp> +#include <string> #include "intrusivePtrBase.h" class CommonObjects; class SourceObject; +class ScriptNode; typedef boost::intrusive_ptr<SourceObject> SourceObjectPtr; +typedef boost::intrusive_ptr<const ScriptNode> ScriptNodePtr; /// Base class for all Project2 components that can be placed in a Project2 script class SourceObject : public virtual IntrusivePtrBase { public: - SourceObject(const xmlpp::Element * p); + SourceObject(ScriptNodePtr p); SourceObject(const std::string & name); virtual ~SourceObject() = 0; |