X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fediting.cc;h=486808065e28ed9b11b0de10d415ca837346a100;hb=92e5a13fd41eba37a2634caf921606b7d915c557;hp=963b83647ca1407cd0a89a8c74d9fe6f7403ea2d;hpb=430bc18ba29ca4cb0d60fc9da53c88661b690920;p=ardour.git diff --git a/gtk2_ardour/editing.cc b/gtk2_ardour/editing.cc index 963b83647c..486808065e 100644 --- a/gtk2_ardour/editing.cc +++ b/gtk2_ardour/editing.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2000-2007 Paul Davis + Copyright (C) 2000-2007 Paul Davis 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 @@ -17,7 +17,8 @@ */ -#include +#include +#include #include "editing.h" @@ -114,25 +115,6 @@ const char *mousemodestrs[] = { #undef MOUSEMODE #define MOUSEMODE(a) /*empty*/ -// MIDIEDITMODE -#undef MIDIEDITMODE -#define MIDIEDITMODE(s) if (!strcmp(type, #s)) {return s;} -MidiEditMode -str2midieditmode (const string & str) { - const char* type = str.c_str(); - #include "editing_syms.h" - return MidiEditSelect; -} - -#undef MIDIEDITMODE -#define MIDIEDITMODE(s) N_(#s), -const char *midieditmodestrs[] = { - #include "editing_syms.h" - 0 -}; -#undef MIDIEDITMODE -#define MIDIEDITMODE(a) /*empty*/ - // ZOOMFOCUS #undef ZOOMFOCUS #define ZOOMFOCUS(s) if (!strcmp(type, #s)) {return s;}