Audacity 3.2.0
Classes | Macros | Functions
KeyConfigPrefs.h File Reference
#include <wx/defs.h>
#include <wx/timer.h>
#include "PrefsPanel.h"
Include dependency graph for KeyConfigPrefs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  KeyConfigPrefs
 A PrefsPanel for keybindings. More...
 

Macros

#define KEY_CONFIG_PREFS_PLUGIN_SYMBOL   ComponentInterfaceSymbol{ XO("Key Config") }
 

Functions

PrefsPanel::Factory KeyConfigPrefsFactory (const CommandID &name={})
 

Macro Definition Documentation

◆ KEY_CONFIG_PREFS_PLUGIN_SYMBOL

#define KEY_CONFIG_PREFS_PLUGIN_SYMBOL   ComponentInterfaceSymbol{ XO("Key Config") }

Definition at line 30 of file KeyConfigPrefs.h.

Function Documentation

◆ KeyConfigPrefsFactory()

PrefsPanel::Factory KeyConfigPrefsFactory ( const CommandID name = {})

A PrefsPanel::Factory that creates one KeyConfigPrefs panel. This factory can be parametrized by name, which specifies a command to be focused initially

Definition at line 937 of file KeyConfigPrefs.cpp.

938{
939 return [=](wxWindow *parent, wxWindowID winid, AudacityProject *pProject)
940 {
941 wxASSERT(parent); // to justify safenew
942 auto result = safenew KeyConfigPrefs{ parent, winid, pProject, name };
943 return result;
944 };
945}
#define safenew
Definition: MemoryX.h:10
wxString name
Definition: TagsEditor.cpp:166
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Definition: Project.h:90
A PrefsPanel for keybindings.

References name, and safenew.

Referenced by AudacityApp::InitPart2().

Here is the caller graph for this function: