2 #ifndef __INK_MAIN_CMD_LINE_ACTIONS_H__
3 #define __INK_MAIN_CMD_LINE_ACTIONS_H__
5 /** \file
6 * Small actions that can be queued at the command line
7 */
9 /*
10 * Authors:
11 * Ted Gould <ted@gould.cx>
12 *
13 * Copyright (C) 2007 Authors
14 *
15 * Released under GNU GPL v2.x, read the file 'COPYING' for more information
16 */
19 namespace Inkscape {
21 class CmdLineAction {
22 bool _isVerb;
23 gchar * _arg;
25 static std::list <CmdLineAction *> _list;
27 public:
28 CmdLineAction (bool isVerb, gchar const * arg);
29 virtual ~CmdLineAction ();
31 void doIt (Inkscape::UI::View::View * view);
32 static void doList (Inkscape::UI::View::View * view);
33 static bool idle (void);
34 };
36 } // Inkscape
40 #endif /* __INK_MAIN_CMD_LINE_ACTIONS_H__ */
42 /*
43 Local Variables:
44 mode:c++
45 c-file-style:"stroustrup"
46 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
47 indent-tabs-mode:nil
48 fill-column:99
49 End:
50 */
51 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :