diff options
| author | Markus Engel <markus.engel@tum.de> | 2013-11-07 20:44:00 +0000 |
|---|---|---|
| committer | Markus Engel <markus.engel@tum.de> | 2013-11-07 20:44:00 +0000 |
| commit | 55b451bf382e0c3d5ed8728e42fbb535acfa8a33 (patch) | |
| tree | 094d9faca06cfffc89a872732db4ac3ef60508d9 /src/arc-context.h | |
| parent | Fix for Bug #1247985 (Incorrect implementation of plural forms). (diff) | |
| download | inkscape-55b451bf382e0c3d5ed8728e42fbb535acfa8a33.tar.gz inkscape-55b451bf382e0c3d5ed8728e42fbb535acfa8a33.zip | |
First step of moving tools into appropriate namespaces.
(bzr r12782)
Diffstat (limited to 'src/arc-context.h')
| -rw-r--r-- | src/arc-context.h | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/src/arc-context.h b/src/arc-context.h index 6a0a6c071..7d99011d0 100644 --- a/src/arc-context.h +++ b/src/arc-context.h @@ -23,13 +23,17 @@ #include "sp-ellipse.h" -#define SP_ARC_CONTEXT(obj) (dynamic_cast<SPArcContext*>((SPEventContext*)obj)) -#define SP_IS_ARC_CONTEXT(obj) (dynamic_cast<const SPArcContext*>(const SPEventContext*(obj)) != NULL) +#define SP_ARC_CONTEXT(obj) (dynamic_cast<Inkscape::UI::Tools::ArcTool*>((Inkscape::UI::Tools::ToolBase*)obj)) +#define SP_IS_ARC_CONTEXT(obj) (dynamic_cast<const Inkscape::UI::Tools::ArcTool*>(const Inkscape::UI::Tools::ToolBase*(obj)) != NULL) -class SPArcContext : public SPEventContext { +namespace Inkscape { +namespace UI { +namespace Tools { + +class ArcTool : public ToolBase { public: - SPArcContext(); - virtual ~SPArcContext(); + ArcTool(); + virtual ~ArcTool(); static const std::string prefsPath; @@ -54,6 +58,10 @@ private: void cancel(); }; +} +} +} + #endif /* !SEEN_ARC_CONTEXT_H */ /* |
