Audacity  2.2.2
Public Member Functions | Private Attributes | List of all members
KeyConfigPrefsFactory Class Referencefinal

#include <KeyConfigPrefs.h>

Inheritance diagram for KeyConfigPrefsFactory:

Public Member Functions

 KeyConfigPrefsFactory (const wxString &name=wxString{})
PrefsPaneloperator() (wxWindow *parent, wxWindowID winid) override

Private Attributes

wxString mName

Detailed Description

Definition at line 97 of file KeyConfigPrefs.h.

Constructor & Destructor Documentation

KeyConfigPrefsFactory::KeyConfigPrefsFactory ( const wxString &  name = wxString{})

Definition at line 100 of file KeyConfigPrefs.h.

100  {})
101  : mName{ name } {}
const wxChar * name
Definition: Distortion.cpp:94

Member Function Documentation

PrefsPanel * KeyConfigPrefsFactory::operator() ( wxWindow *  parent,
wxWindowID  winid 

Implements PrefsPanelFactory.

Definition at line 663 of file KeyConfigPrefs.cpp.

References safenew.

664 {
665  wxASSERT(parent); // to justify safenew
666  auto result = safenew KeyConfigPrefs{ parent, winid, mName };
667  return result;
668 }
#define safenew
Definition: Audacity.h:223
A PrefsPanel for keybindings.

Member Data Documentation

wxString KeyConfigPrefsFactory::mName

Definition at line 105 of file KeyConfigPrefs.h.

The documentation for this class was generated from the following files: