summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/operations.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-01-19 17:39:22 +0000
committerCarl Hetherington <carl@carlh.net>2011-01-19 17:39:22 +0000
commit7c313b49185c407b094cbc80860ca43696de91aa (patch)
treebf3af67a6de45e814fe402b4c64e4c09b74170a4 /libs/ardour/ardour/operations.h
parent1e8586742e48f56bb81fa14c50442cec23894dfd (diff)
Missing files.
git-svn-id: svn://localhost/ardour2/branches/3.0@8540 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/operations.h')
-rw-r--r--libs/ardour/ardour/operations.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/libs/ardour/ardour/operations.h b/libs/ardour/ardour/operations.h
new file mode 100644
index 0000000000..945a5816a7
--- /dev/null
+++ b/libs/ardour/ardour/operations.h
@@ -0,0 +1,43 @@
+/*
+ Copyright (C) 2011 Paul Davis
+ Author: Carl Hetherington <cth@carlh.net>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+*/
+
+/** These are GQuarks for a subset of UI operations. We use these
+ * so that the undo system can be queried to find out what operations
+ * are currently in progress, by calling Session::current_operations().
+ *
+ * It is only necessary to add a GQuark here if you subsequently want
+ * to be able to find out that a particular operation is in progress.
+ */
+
+namespace Operations {
+
+ extern GQuark capture;
+ extern GQuark paste;
+ extern GQuark duplicate_region;
+ extern GQuark insert_file;
+ extern GQuark insert_region;
+ extern GQuark drag_region_brush;
+ extern GQuark region_drag;
+ extern GQuark selection_grab;
+ extern GQuark region_fill;
+ extern GQuark fill_selection;
+ extern GQuark create_region;
+
+};
+