summaryrefslogtreecommitdiffstats
path: root/src/inkscape-application.h
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2019-02-15 12:07:06 +0000
committerTavmjong Bah <tavmjong@free.fr>2019-02-15 12:07:06 +0000
commit93ae542b95b3708e49a75aaa6f81943819e95f7e (patch)
tree1fdb0613de56280bd1036e8eb2f7b96896ded948 /src/inkscape-application.h
parentMove all files except inkscape_main and inkview_main into shared library. (diff)
downloadinkscape-93ae542b95b3708e49a75aaa6f81943819e95f7e.tar.gz
inkscape-93ae542b95b3708e49a75aaa6f81943819e95f7e.zip
Turn InkscapeApplication into singleton.
Diffstat (limited to 'src/inkscape-application.h')
-rw-r--r--src/inkscape-application.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/inkscape-application.h b/src/inkscape-application.h
index 3b84770cf..d5b58d5cd 100644
--- a/src/inkscape-application.h
+++ b/src/inkscape-application.h
@@ -96,6 +96,9 @@ protected:
template <class T> class ConcreteInkscapeApplication : public T, public InkscapeApplication
{
public:
+ static ConcreteInkscapeApplication<T>& get_instance();
+
+private:
ConcreteInkscapeApplication();
public: