diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2018-11-12 20:22:44 +0000 |
|---|---|---|
| committer | Alexander Valavanis <valavanisalex@gmail.com> | 2018-11-18 12:39:15 +0000 |
| commit | 408cb49b5559a81ea803df64bf58457a5dd4bf16 (patch) | |
| tree | ce3eac6a8bf8f641ba1c71b72f228080d201bb6d /src/actions/actions-base.h | |
| parent | Fix stream class locations (diff) | |
| download | inkscape-408cb49b5559a81ea803df64bf58457a5dd4bf16.tar.gz inkscape-408cb49b5559a81ea803df64bf58457a5dd4bf16.zip | |
Rewrite of main.cpp using InkscapeApplication (Gtk::Application)
Use Gio::File for accessing files.
Use Gio options to handle command line arguments.
Use Gio::Actions for some command line arguments.
Move file export code to src/io/file-export-cmd.h/.cpp. Make into class.
Diffstat (limited to 'src/actions/actions-base.h')
| -rw-r--r-- | src/actions/actions-base.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/actions/actions-base.h b/src/actions/actions-base.h new file mode 100644 index 000000000..a52078881 --- /dev/null +++ b/src/actions/actions-base.h @@ -0,0 +1,18 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Gio::Actions tied to the application and without GUI. + * + * Copyright (C) 2018 Tavmjong Bah + * + * The contents of this file may be used under the GNU General Public License Version 2 or later. + * + */ + +#ifndef INK_ACTIONS_BASE_H +#define INK_ACTIONS_BASE_H + +class InkscapeApplication; + +void add_actions_base(InkscapeApplication* app); + +#endif // INK_ACTIONS_BASE_H |
