Merge branch 'master' into cairocanvas
[ardour.git] / libs / ardour / ardour / operations.h
1 /*
2     Copyright (C) 2011 Paul Davis
3     Author: Carl Hetherington <cth@carlh.net>
4
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.
9
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.
14
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.
18 */
19
20 #include "ardour/libardour_visibility.h"
21
22 /** These are GQuarks for a subset of UI operations.  We use these
23  *  so that the undo system can be queried to find out what operations
24  *  are currently in progress, by calling Session::current_operations().
25  *
26  *  It is only necessary to add a GQuark here if you subsequently want
27  *  to be able to find out that a particular operation is in progress.
28  */
29
30 namespace Operations {
31
32         LIBARDOUR_API extern GQuark capture;
33         LIBARDOUR_API extern GQuark paste;
34         LIBARDOUR_API extern GQuark duplicate_region;
35         LIBARDOUR_API extern GQuark insert_file;
36         LIBARDOUR_API extern GQuark insert_region;
37         LIBARDOUR_API extern GQuark drag_region_brush;
38         LIBARDOUR_API extern GQuark region_drag;
39         LIBARDOUR_API extern GQuark selection_grab;
40         LIBARDOUR_API extern GQuark region_fill;
41         LIBARDOUR_API extern GQuark fill_selection;
42         LIBARDOUR_API extern GQuark create_region;
43         LIBARDOUR_API extern GQuark region_copy;
44         LIBARDOUR_API extern GQuark fixed_time_region_copy;
45
46 };
47