X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibr2c2%2Fobjecttype.h;h=4102f944041ee95f231b9c9924889115e87565fa;hb=42f767669d9fa699e1fd58a62548b62f5c93a87b;hp=0cca264b77c12bfb880270d67d8d04d4b11d97eb;hpb=2910db1364914c0ab98a0f80250cc39137821577;p=r2c2.git diff --git a/source/libr2c2/objecttype.h b/source/libr2c2/objecttype.h index 0cca264..4102f94 100644 --- a/source/libr2c2/objecttype.h +++ b/source/libr2c2/objecttype.h @@ -4,6 +4,7 @@ #include #include #include "articlenumber.h" +#include "geometry.h" namespace R2C2 { @@ -20,14 +21,16 @@ protected: ArticleNumber art_nr; std::string name; std::string description; + Shape *shape; - ObjectType(const ArticleNumber &a): art_nr(a) { } + ObjectType(const ArticleNumber &); public: - virtual ~ObjectType() { } + virtual ~ObjectType(); const ArticleNumber &get_article_number() const { return art_nr; } const std::string &get_name() const { return name; } const std::string &get_description() const { return description; } + const Shape *get_shape() const { return shape; } }; } // namespace R2C2