summaryrefslogtreecommitdiffstats
path: root/src/main-cmdlineact.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/main-cmdlineact.h')
-rw-r--r--src/main-cmdlineact.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main-cmdlineact.h b/src/main-cmdlineact.h
index 03f0eb0fc..fe11357fa 100644
--- a/src/main-cmdlineact.h
+++ b/src/main-cmdlineact.h
@@ -19,6 +19,8 @@
namespace Inkscape {
+class ActionContext;
+
class CmdLineAction {
bool _isVerb;
gchar * _arg;
@@ -29,8 +31,9 @@ public:
CmdLineAction (bool isVerb, gchar const * arg);
virtual ~CmdLineAction ();
- void doIt (Inkscape::UI::View::View * view);
- static void doList (Inkscape::UI::View::View * view);
+ void doIt (ActionContext const & context);
+ /** Return true if any actions were performed */
+ static bool doList (ActionContext const & context);
static bool idle (void);
};