initial commit

This commit is contained in:
kazu
2016-05-24 16:55:19 +02:00
commit 13a89df8d6
77 changed files with 7454 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
#ifndef MAPMODELELEMENT_H
#define MAPMODELELEMENT_H
#include "MapLayer.h"
class MV2DElement;
class MapModelElement {
protected:
MapLayer* parent;
public:
/** ctor */
MapModelElement(MapLayer* parent) : parent(parent) {;}
/** dtor */
virtual ~MapModelElement() {;}
/** get the 2D interaction class for this element */
virtual MV2DElement* getMV2D() const = 0;
/** delete this element from the model */
virtual void deleteMe() const = 0;
/** get the parent element */
MapLayer* getParent() const {return parent;}
};
#endif // MAPMODELELEMENT_H