summaryrefslogtreecommitdiffstats
path: root/src/actions/actions-helper.h
blob: da65e10ac4db2d41015272275d3b4a085a4d5bca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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 :