summaryrefslogtreecommitdiffstats
path: root/src/ui/view/view.h
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2018-12-03 14:12:58 +0000
committerTavmjong Bah <tavmjong@free.fr>2018-12-03 14:12:58 +0000
commitd0a70cf731c5d3e2698f62876a4acade0361bb8e (patch)
treeff8e35ffe8c44db6b28b8c29c108513307f057c7 /src/ui/view/view.h
parentUse std::unique_ptr for all MessageContext (diff)
downloadinkscape-d0a70cf731c5d3e2698f62876a4acade0361bb8e.tar.gz
inkscape-d0a70cf731c5d3e2698f62876a4acade0361bb8e.zip
Remove dependance of SVGViewWidget on SVGView and View. Remove SVGView.
Another step in making View not dependent on GUI.
Diffstat (limited to 'src/ui/view/view.h')
-rw-r--r--src/ui/view/view.h17
1 files changed, 6 insertions, 11 deletions
diff --git a/src/ui/view/view.h b/src/ui/view/view.h
index d3afc73c3..3acfd2c1c 100644
--- a/src/ui/view/view.h
+++ b/src/ui/view/view.h
@@ -95,17 +95,12 @@ public:
void emitResized(gdouble width, gdouble height);
void requestRedraw();
- // view subclasses must give implementations of these methods
-
- virtual bool shutdown() = 0;
- virtual void mouseover() = 0;
- virtual void mouseout() = 0;
-
- virtual void onResized (double, double) = 0;
- virtual void onRedrawRequested() = 0;
- virtual void onStatusMessage (Inkscape::MessageType type, gchar const *message) = 0;
- virtual void onDocumentURISet (gchar const* uri) = 0;
- virtual void onDocumentResized (double, double) = 0;
+ virtual void onResized (double, double) {};
+ virtual void onRedrawRequested() {};
+ virtual void onStatusMessage (Inkscape::MessageType type, gchar const *message) {};
+ virtual void onDocumentURISet (gchar const* uri) {};
+ virtual void onDocumentResized (double, double) {};
+ virtual bool shutdown() { return false; };
protected:
SPDocument *_doc;