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 676 of file KeyConfigPrefs.cpp.

References safenew.

677 {
678  wxASSERT(parent); // to justify safenew
679  auto result = safenew KeyConfigPrefs{ parent, winid, mName };
680  return result;
681 }
#define safenew
Definition: Audacity.h:230
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: