2 Copyright (C) 2011 Paul Davis
3 Author: Carl Hetherington <cth@carlh.net>
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 /** These are GQuarks for a subset of UI operations. We use these
21 * so that the undo system can be queried to find out what operations
22 * are currently in progress, by calling Session::current_operations().
24 * It is only necessary to add a GQuark here if you subsequently want
25 * to be able to find out that a particular operation is in progress.
28 namespace Operations {
30 extern GQuark capture;
32 extern GQuark duplicate_region;
33 extern GQuark insert_file;
34 extern GQuark insert_region;
35 extern GQuark drag_region_brush;
36 extern GQuark region_drag;
37 extern GQuark selection_grab;
38 extern GQuark region_fill;
39 extern GQuark fill_selection;
40 extern GQuark create_region;
41 extern GQuark region_copy;
42 extern GQuark fixed_time_region_copy;