diff options
| author | Liam P. White <inkscapebrony@gmail.com> | 2014-06-27 01:40:01 +0000 |
|---|---|---|
| committer | Liam P. White <inkscapebrony@gmail.com> | 2014-06-27 01:40:01 +0000 |
| commit | a65c95ff4739e2803e28d64b2a3b3774dd1f45aa (patch) | |
| tree | 96ea7df357bc76c5e50dc89b416a73c0646c5c82 /src/inkscape.h | |
| parent | Convert accidental member accesses into static function accesses (diff) | |
| download | inkscape-a65c95ff4739e2803e28d64b2a3b3774dd1f45aa.tar.gz inkscape-a65c95ff4739e2803e28d64b2a3b3774dd1f45aa.zip | |
Move constructor/destructor into private section, remove protected section. Rename init(). Add to-do list.
(bzr r13341.5.8)
Diffstat (limited to 'src/inkscape.h')
| -rw-r--r-- | src/inkscape.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/inkscape.h b/src/inkscape.h index 821970748..966b6ee87 100644 --- a/src/inkscape.h +++ b/src/inkscape.h @@ -76,15 +76,9 @@ public: namespace Inkscape { class Application { -protected: - static Inkscape::Application * _S_inst; - - Application(const char* argv0, bool use_gui); - ~Application(); - public: static Application* instance(); - static void init(const char* argv0, bool use_gui); + static void create(const char* argv0, bool use_gui); // returns the mask of the keyboard modifier to map to Alt, zero if no mapping // Needs to be a guint because gdktypes.h does not define a 'no-modifier' value @@ -207,6 +201,11 @@ public: sigc::signal<void> signal_external_change; private: + static Inkscape::Application * _S_inst; + + Application(const char* argv0, bool use_gui); + ~Application(); + Inkscape::XML::Document * _menus; std::map<SPDocument *, int> _document_set; std::map<SPDocument *, AppSelectionModel *> _selection_models; |
