audacia/src/ShuttlePrefs.h
Paul Licameli 990080ae7d Replace virtual with override wherever possible; eliminate needless virtual...
... 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.
2016-02-26 12:35:38 -05:00

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