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 */
18 #include <glib/gtypes.h>
20 namespace Inkscape {
22 class CmdLineAction {
23 bool _isVerb;
24 gchar * _arg;
26 static std::list <CmdLineAction *> _list;
28 public:
29 CmdLineAction (bool isVerb, gchar const * arg);
30 virtual ~CmdLineAction ();
32 void doIt (Inkscape::UI::View::View * view);
33 static void doList (Inkscape::UI::View::View * view);
34 static bool idle (void);
35 };
37 } // Inkscape
41 #endif /* __INK_MAIN_CMD_LINE_ACTIONS_H__ */
43 /*
44 Local Variables:
45 mode:c++
46 c-file-style:"stroustrup"
47 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
48 indent-tabs-mode:nil
49 fill-column:99
50 End:
51 */
52 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :