diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2018-11-19 22:49:18 +0000 |
|---|---|---|
| committer | Tavmjong Bah <tavmjong@free.fr> | 2018-11-19 22:49:18 +0000 |
| commit | 9f666963e7f574c95d26082597e7ee5fbee9780b (patch) | |
| tree | 901e704d42fbcc2f98b2970bdbc7da25a72e0736 /src/actions/actions-helper.h | |
| parent | Fix --help descriptions of "--actions", "--query-id", " and "--export-id". (diff) | |
| download | inkscape-9f666963e7f574c95d26082597e7ee5fbee9780b.tar.gz inkscape-9f666963e7f574c95d26082597e7ee5fbee9780b.zip | |
Allow any valid Verb to be used in "--actions".
Rename "select" action to "select-via-id".
Add "select-via-class", "select-via-element", "select-via-selector", and "select-clear" actions.
Diffstat (limited to 'src/actions/actions-helper.h')
| -rw-r--r-- | src/actions/actions-helper.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/actions/actions-helper.h b/src/actions/actions-helper.h new file mode 100644 index 000000000..da65e10ac --- /dev/null +++ b/src/actions/actions-helper.h @@ -0,0 +1,34 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Gio::Actions for selection 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_HELPER_H +#define INK_ACTIONS_HELPER_H + +class InkscapeApplication; +class SPDocument; +namespace Inkscape { + class Selection; +} + +bool get_document_and_selection(InkscapeApplication* app, SPDocument** document, Inkscape::Selection** selection); + + +#endif // INK_ACTIONS_HELPER_H + +/* + Local Variables: + mode:c++ + c-file-style:"stroustrup" + c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +)) + indent-tabs-mode:nil + fill-column:99 + End: +*/ +// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 : |
