1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-20 23:51:18 +01:00

Define MacroCommandsCatalog to associate friendly and internal names...

... friendly names are still English only.  Not yet localized, but ought to be.
This commit is contained in:
Paul Licameli
2018-03-06 15:28:05 -05:00
parent 9d73effe09
commit ffadd64a56
8 changed files with 142 additions and 92 deletions

View File

@@ -12,7 +12,6 @@
#ifndef __AUDACITY_MACRO_COMMAND_DIALOG__
#define __AUDACITY_MACRO_COMMAND_DIALOG__
#include "MemoryX.h"
#include <wx/defs.h>
#include <wx/string.h>
@@ -26,6 +25,8 @@
#include <wx/menuitem.h>
#include <wx/checklst.h>
#include "BatchCommands.h"
class wxWindow;
class wxCheckBox;
class wxChoice;
@@ -70,9 +71,7 @@ class MacroCommandDialog final : public wxDialogWrapper {
wxString mInternalCommandName;
using CommandName = std::tuple<wxString, wxString,wxString>;
using CommandNameVector = std::vector<CommandName>;
CommandNameVector mCommandNames;
const MacroCommandsCatalog mCatalog;
DECLARE_EVENT_TABLE()
};