summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editing.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/editing.h')
-rw-r--r--gtk2_ardour/editing.h27
1 files changed, 23 insertions, 4 deletions
diff --git a/gtk2_ardour/editing.h b/gtk2_ardour/editing.h
index d7f8f6ece8..93bbb603ee 100644
--- a/gtk2_ardour/editing.h
+++ b/gtk2_ardour/editing.h
@@ -34,6 +34,8 @@
#define ZOOMFOCUS(a) /*empty*/
#define DISPLAYCONTROL(a) /*empty*/
#define IMPORTMODE(a) /*empty*/
+#define IMPORTPOSITION(a)
+#define IMPORTDISPOSITION(a)
namespace Editing {
@@ -135,6 +137,7 @@ DisplayControl str2displaycontrol (const std::string &);
#undef DISPLAYCONTROL
#define DISPLAYCONTROL(a) /*empty*/
+
// IMPORTMODE
#undef IMPORTMODE
#define IMPORTMODE(a) a,
@@ -142,13 +145,29 @@ enum ImportMode {
#include "editing_syms.h"
};
-extern const char *importmodestrs[];
-inline const char* enum2str(ImportMode m) {return importmodestrs[m];}
-ImportMode str2importmode (const std::string &);
-
#undef IMPORTMODE
#define IMPORTMODE(a) /*empty*/
+// IMPORTPOSITION
+#undef IMPORTPOSITION
+#define IMPORTPOSITION(a) a,
+enum ImportPosition {
+ #include "editing_syms.h"
+};
+
+#undef IMPORTPOSITION
+#define IMPORTPOSITION(a) /*empty*/
+
+// IMPORTDISPOSITION
+#undef IMPORTDISPOSITION
+#define IMPORTDISPOSITION(a) a,
+enum ImportDisposition {
+ #include "editing_syms.h"
+};
+
+#undef IMPORTDISPOSITION
+#define IMPORTDISPOSITION(a) /*empty*/
+
/////////////////////
// These don't need their state saved. yet...
enum CutCopyOp {