X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fediting.cc;h=10181d56ff7879a7bf6e830233b903f37966d962;hb=1a7fd81f4095e3ee8cb42e63c232a51529412846;hp=2874e69308acc2504614d9a1fc073279646e8a3a;hpb=da45f489dd3d923bbba8f1cee39ab445c4bf1b64;p=ardour.git diff --git a/gtk2_ardour/editing.cc b/gtk2_ardour/editing.cc index 2874e69308..10181d56ff 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,12 +17,12 @@ */ -#include +#include #include #include "editing.h" -#include "i18n.h" +#include "pbd/i18n.h" using namespace std; @@ -115,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;}