summaryrefslogtreecommitdiffstats
path: root/src/ui/tool/node-tool.h
diff options
context:
space:
mode:
authorMarkus Engel <markus.engel@tum.de>2013-04-20 19:16:13 +0000
committerMarkus Engel <markus.engel@tum.de>2013-04-20 19:16:13 +0000
commit1227ca0189590b281116fcc808bdd8c674b2196c (patch)
tree9ce1978824c1baaba62865364c7e45aee7b42cd9 /src/ui/tool/node-tool.h
parentReplaced casting macros for EventContext tree; added contructors. (diff)
downloadinkscape-1227ca0189590b281116fcc808bdd8c674b2196c.tar.gz
inkscape-1227ca0189590b281116fcc808bdd8c674b2196c.zip
Further changes to EventContexts; they work without GObject
(bzr r11608.1.97)
Diffstat (limited to 'src/ui/tool/node-tool.h')
-rw-r--r--src/ui/tool/node-tool.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/src/ui/tool/node-tool.h b/src/ui/tool/node-tool.h
index 3de68d535..43c1f3cdf 100644
--- a/src/ui/tool/node-tool.h
+++ b/src/ui/tool/node-tool.h
@@ -37,10 +37,17 @@ struct PathSharedData;
} // namespace UI
} // namespace Inkscape
-typedef std::auto_ptr<Inkscape::UI::MultiPathManipulator> MultiPathPtr;
-typedef std::auto_ptr<Inkscape::UI::ControlPointSelection> CSelPtr;
-typedef std::auto_ptr<Inkscape::UI::Selector> SelectorPtr;
-typedef std::auto_ptr<Inkscape::UI::PathSharedData> PathSharedDataPtr;
+//typedef std::auto_ptr<Inkscape::UI::MultiPathManipulator> MultiPathPtr;
+//typedef std::auto_ptr<Inkscape::UI::ControlPointSelection> CSelPtr;
+//typedef std::auto_ptr<Inkscape::UI::Selector> SelectorPtr;
+//typedef std::auto_ptr<Inkscape::UI::PathSharedData> PathSharedDataPtr;
+
+
+typedef Inkscape::UI::MultiPathManipulator* MultiPathPtr;
+typedef Inkscape::UI::ControlPointSelection* CSelPtr;
+typedef Inkscape::UI::Selector* SelectorPtr;
+typedef Inkscape::UI::PathSharedData* PathSharedDataPtr;
+
typedef boost::ptr_map<SPItem*, ShapeEditor> ShapeEditors;
class CInkNodeTool;
@@ -49,6 +56,7 @@ class InkNodeTool : public SPEventContext
{
public:
InkNodeTool();
+ virtual ~InkNodeTool();
CInkNodeTool* cinknodetool;
sigc::connection _selection_changed_connection;