From 55b451bf382e0c3d5ed8728e42fbb535acfa8a33 Mon Sep 17 00:00:00 2001 From: Markus Engel Date: Thu, 7 Nov 2013 21:44:00 +0100 Subject: First step of moving tools into appropriate namespaces. (bzr r12782) --- src/common-context.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/common-context.cpp') diff --git a/src/common-context.cpp b/src/common-context.cpp index 2155f9739..e896d0829 100644 --- a/src/common-context.cpp +++ b/src/common-context.cpp @@ -19,8 +19,12 @@ #define DRAG_DEFAULT 1.0 #define DRAG_MAX 1.0 +namespace Inkscape { +namespace UI { +namespace Tools { + SPCommonContext::SPCommonContext() : - SPEventContext(), + ToolBase(), accumulated(NULL), segments(NULL), currentshape(NULL), @@ -142,6 +146,10 @@ Geom::Point SPCommonContext::getViewPoint(Geom::Point n) const { return Geom::Point(n[Geom::X] * max + drect.min()[Geom::X], n[Geom::Y] * max + drect.min()[Geom::Y]); } +} +} +} + /* Local Variables: mode:c++ -- cgit v1.2.3