mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-06 14:52:34 +02:00
... for functions in final classes. override is like const -- it's not necessary, but it helps the compiler to catch mistakes. There may be some overriding functions not explicitly declared virtual and I did not identify such cases, in which I might also add override.
35 lines
1.1 KiB
C++
35 lines
1.1 KiB
C++
/**********************************************************************
|
|
|
|
Audacity: A Digital Audio Editor
|
|
|
|
ShuttlePrefs.h
|
|
|
|
Dominic Mazzoni
|
|
James Crook
|
|
|
|
**********************************************************************/
|
|
|
|
#ifndef __AUDACITY_SHUTTLE_PREFS__
|
|
#define __AUDACITY_SHUTTLE_PREFS__
|
|
|
|
#include "Shuttle.h"
|
|
|
|
class ShuttlePrefs final : public Shuttle
|
|
{
|
|
public:
|
|
// constructors and destructors
|
|
ShuttlePrefs(){;};
|
|
virtual ~ShuttlePrefs() {};
|
|
|
|
public:
|
|
bool TransferBool( const wxString & Name, bool & bValue, const bool & bDefault ) override;
|
|
// bool TransferFloat( const wxString & Name, float & fValue, const float &fDefault ) override;
|
|
bool TransferDouble( const wxString & Name, double & dValue, const double &dDefault ) override;
|
|
bool TransferInt(const wxString & Name, int & iValue, const int &iDefault) override;
|
|
bool TransferString(const wxString & Name, wxString & strValue, const wxString &strDefault) override;
|
|
bool TransferWrappedType(const wxString & Name, WrappedType & W) override;
|
|
bool ExchangeWithMaster(const wxString & Name) override;
|
|
};
|
|
|
|
#endif
|