~ubuntu-branches/ubuntu/utopic/inkscape/utopic-proposed

« back to all changes in this revision

Viewing changes to inkscape-0.47pre1/src/main-cmdlineact.h

  • Committer: Bazaar Package Importer
  • Author(s): Bryce Harrington
  • Date: 2009-07-02 17:09:45 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20090702170945-nn6d6zswovbwju1t
Tags: 0.47~pre1-0ubuntu1
* New upstream release.
  - Don't constrain maximization on small resolution devices (pre0)
    (LP: #348842)
  - Fixes segfault on startup (pre0)
    (LP: #391149)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
#ifndef __INK_MAIN_CMD_LINE_ACTIONS_H__
 
3
#define __INK_MAIN_CMD_LINE_ACTIONS_H__
 
4
 
 
5
/** \file
 
6
 * Small actions that can be queued at the command line
 
7
 */
 
8
 
 
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
 */
 
17
 
 
18
#include <glib/gtypes.h>
 
19
 
 
20
namespace Inkscape {
 
21
 
 
22
class CmdLineAction {
 
23
    bool _isVerb;
 
24
    gchar * _arg;
 
25
 
 
26
    static std::list <CmdLineAction *> _list;
 
27
 
 
28
public:
 
29
    CmdLineAction (bool isVerb, gchar const * arg);
 
30
    virtual ~CmdLineAction ();
 
31
 
 
32
    void doIt (Inkscape::UI::View::View * view);
 
33
    static void doList (Inkscape::UI::View::View * view);
 
34
    static bool idle (void);
 
35
};
 
36
 
 
37
} // Inkscape
 
38
 
 
39
 
 
40
 
 
41
#endif /* __INK_MAIN_CMD_LINE_ACTIONS_H__ */
 
42
 
 
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 :