better comments
[ardour.git] / libs / ardour / operations.cc
1 /*
2  * Copyright (C) 2011 Carl Hetherington <carl@carlh.net>
3  * Copyright (C) 2012-2016 Paul Davis <paul@linuxaudiosystems.com>
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 along
16  * with this program; if not, write to the Free Software Foundation, Inc.,
17  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18  */
19
20 #include <glib.h>
21 #include "ardour/operations.h"
22 #include "pbd/i18n.h"
23
24 GQuark Operations::capture;
25 GQuark Operations::paste;
26 GQuark Operations::duplicate_region;
27 GQuark Operations::insert_file;
28 GQuark Operations::insert_region;
29 GQuark Operations::drag_region_brush;
30 GQuark Operations::region_drag;
31 GQuark Operations::selection_grab;
32 GQuark Operations::region_fill;
33 GQuark Operations::fill_selection;
34 GQuark Operations::create_region;
35 GQuark Operations::region_copy;
36 GQuark Operations::fixed_time_region_copy;
37
38 void
39 Operations::make_operations_quarks ()
40 {
41         Operations::capture           = g_quark_from_static_string (_("capture"));
42         Operations::paste             = g_quark_from_static_string (_("paste"));
43         Operations::duplicate_region  = g_quark_from_static_string (_("duplicate region"));
44         Operations::insert_file       = g_quark_from_static_string (_("insert file"));
45         Operations::insert_region     = g_quark_from_static_string (_("insert region"));
46         Operations::drag_region_brush = g_quark_from_static_string (_("drag region brush"));
47         Operations::region_drag       = g_quark_from_static_string (_("region drag"));
48         Operations::selection_grab    = g_quark_from_static_string (_("selection grab"));
49         Operations::region_fill       = g_quark_from_static_string (_("region fill"));
50         Operations::fill_selection    = g_quark_from_static_string (_("fill selection"));
51         Operations::create_region     = g_quark_from_static_string (_("create region"));
52         Operations::region_copy       = g_quark_from_static_string (_("region copy"));
53         Operations::fixed_time_region_copy = g_quark_from_static_string (_("fixed time region copy"));
54 }