diff options
| author | Dmitry Zhulanov <dmitry.zhulanov@gmail.com> | 2016-09-26 17:23:14 +0000 |
|---|---|---|
| committer | Dmitry Zhulanov <dmitry.zhulanov@gmail.com> | 2016-09-26 17:23:14 +0000 |
| commit | 6efece51f99980b824b199bbeb6452f03e6736c6 (patch) | |
| tree | 7fa1c7d9a0278c5770c15c5ef4251e0deb362e4e /src/main-cmdlineact.h | |
| parent | Remove unused variable. (diff) | |
| download | inkscape-6efece51f99980b824b199bbeb6452f03e6736c6.tar.gz inkscape-6efece51f99980b824b199bbeb6452f03e6736c6.zip | |
add x-verbs support
(bzr r15136.1.1)
Diffstat (limited to 'src/main-cmdlineact.h')
| -rw-r--r-- | src/main-cmdlineact.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/main-cmdlineact.h b/src/main-cmdlineact.h index b8ec4403b..f50e70e5a 100644 --- a/src/main-cmdlineact.h +++ b/src/main-cmdlineact.h @@ -21,15 +21,20 @@ class ActionContext; class CmdLineAction { bool _isVerb; - char * _arg; - static std::list <CmdLineAction *> _list; + static bool _requestQuit; + +protected: + char * _arg; public: CmdLineAction (bool isVerb, char const * arg); virtual ~CmdLineAction (); + virtual bool isExtended(); + virtual void doItX (ActionContext const & context); void doIt (ActionContext const & context); + /** Return true if any actions were performed */ static bool doList (ActionContext const & context); static bool idle (void); |
