summaryrefslogtreecommitdiffstats
path: root/src/sp-polyline.h
diff options
context:
space:
mode:
authorMarkus Engel <markus.engel@tum.de>2013-04-02 21:01:45 +0000
committerMarkus Engel <markus.engel@tum.de>2013-04-02 21:01:45 +0000
commit8443720ce6429b9beec839e60b8a808595f4ba72 (patch)
tree3e08d3c631c2590a19481613a6e31cf09f6bed42 /src/sp-polyline.h
parentReplaced some forgotten old casting macros. (diff)
downloadinkscape-8443720ce6429b9beec839e60b8a808595f4ba72.tar.gz
inkscape-8443720ce6429b9beec839e60b8a808595f4ba72.zip
Cleaned up a bit. Uses some C++11 features.
(bzr r11608.1.72)
Diffstat (limited to 'src/sp-polyline.h')
-rw-r--r--src/sp-polyline.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/sp-polyline.h b/src/sp-polyline.h
index c6f9340f8..994ee18b1 100644
--- a/src/sp-polyline.h
+++ b/src/sp-polyline.h
@@ -3,38 +3,19 @@
#include "sp-shape.h"
-
-
-#define SP_TYPE_POLYLINE (sp_polyline_get_type ())
#define SP_POLYLINE(obj) ((SPPolyLine*)obj)
-//#define SP_IS_POLYLINE(obj) (obj != NULL && static_cast<const SPObject*>(obj)->typeHierarchy.count(typeid(SPPolyLine)))
#define SP_IS_POLYLINE(obj) (dynamic_cast<const SPPolyLine*>((SPObject*)obj))
class SPPolyLine;
-class SPPolyLineClass;
class CPolyLine;
-GType sp_polyline_get_type (void) G_GNUC_CONST;
-
class SPPolyLine : public SPShape {
public:
SPPolyLine();
CPolyLine* cpolyline;
-
-private:
- friend class SPPolyLineClass;
-};
-
-class SPPolyLineClass {
-public:
- SPShapeClass parent_class;
-
-private:
- friend class SPPolyLine;
};
-
class CPolyLine : public CShape {
public:
CPolyLine(SPPolyLine* polyline);
@@ -50,7 +31,6 @@ protected:
SPPolyLine* sppolyline;
};
-
#endif // SEEN_SP_POLYLINE_H
/*