From 1cb5fdc15c5f8399ca08377eb498f7c27c2eee85 Mon Sep 17 00:00:00 2001 From: Benjamin Paassen Date: Thu, 6 Mar 2014 11:54:40 +0000 Subject: reworked the model classes according to manipulated GraphNode and removed some bugs resulting from a misunderstanding between abtract domain declarations and instances. git-svn-id: file:///var/local/svn/basicwriter@29 daaaf23c-2e50-4459-9457-1e69db5a47bf --- src/model/domain/Structure.hpp | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) (limited to 'src/model/domain/Structure.hpp') diff --git a/src/model/domain/Structure.hpp b/src/model/domain/Structure.hpp index 897b265..4f0604a 100644 --- a/src/model/domain/Structure.hpp +++ b/src/model/domain/Structure.hpp @@ -16,18 +16,32 @@ along with this program. If not, see . */ -#ifndef _STRUCTURE_HPP_ -#define _STRUCTURE_HPP_ +#ifndef _OUSIA_MODEL_DOMAIN_STRUCTURE_HPP_ +#define _OUSIA_MODEL_DOMAIN_STRUCTURE_HPP_ + +#include +#include #include namespace ousia { +namespace model { namespace domain { class Structure : public GraphNode { - using GraphNode::GraphNode; + +public: + Structure(std::shared_ptr parent = nullptr, + const std::string &name = "") : + GraphNode(GraphNodeType::Structure, parent, name) + { + // Do nothing here + } + + }; } } +} -#endif /* _STRUCTURE_HPP_ */ +#endif /* _OUSIA_MODEL_DOMAIN_STRUCTURE_HPP_ */ -- cgit v1.2.3