12#ifndef __AUDACITY_SHUTTLE_PREFS__
13#define __AUDACITY_SHUTTLE_PREFS__
25 bool TransferBool(
const wxString & Name,
bool & bValue,
const bool & bDefault )
override;
27 bool TransferDouble(
const wxString & Name,
double & dValue,
const double &dDefault )
override;
28 bool TransferInt(
const wxString & Name,
int & iValue,
const int &iDefault)
override;
29 bool TransferString(
const wxString & Name, wxString & strValue,
const wxString &strDefault)
override;
Moves data from one place to another, converting it as required.
A kind of Shuttle to exchange data with preferences e.g. the registry.
bool TransferString(const wxString &Name, wxString &strValue, const wxString &strDefault) override
bool TransferInt(const wxString &Name, int &iValue, const int &iDefault) override
bool TransferWrappedType(const wxString &Name, WrappedType &W) override
bool TransferDouble(const wxString &Name, double &dValue, const double &dDefault) override
bool TransferBool(const wxString &Name, bool &bValue, const bool &bDefault) override
bool ExchangeWithMaster(const wxString &Name) override
Used in type conversions, this wrapper for ints, strings, doubles and enums provides conversions betw...