13 #ifndef __SYNTHESIZERSTATE_H__ 14 #define __SYNTHESIZERSTATE_H__ 22 class SynthesizerState;
33 IdValue(
int _id,
const QString& _data) : id(_id), data(_data) {}
44 const QString&
name()
const {
return _name; }
45 void setName(
const QString& s) { _name = s; }
56 bool _isDefault {
true };
60 insert(end(), l.begin(), l.end());
64 void write(
XmlWriter&,
bool force =
false)
const;
67 bool isDefaultSynthSoundfont();
90 { 0,
"MuseScore_General.sf3" },
int id
Definition: synthesizerstate.h:29
SynthesizerGroup()
Definition: synthesizerstate.h:47
SynthesizerState(std::initializer_list< SynthesizerGroup > l)
Definition: synthesizerstate.h:59
const QString & name() const
Definition: synthesizerstate.h:44
void setName(const QString &s)
Definition: synthesizerstate.h:45
SynthesizerState()
Definition: synthesizerstate.h:62
IdValue(int _id, const QString &_data)
Definition: synthesizerstate.h:33
Definition: synthesizerstate.h:55
QString _name
Definition: synthesizerstate.h:41
bool isDefault() const
Definition: synthesizerstate.h:70
Definition: synthesizerstate.h:28
Definition: aeolus.cpp:26
Definition: synthesizerstate.h:40
Definition: xmlwriter.h:26
Definition: xmlreader.h:28
QString data
Definition: synthesizerstate.h:30
SynthesizerGroup(const char *n, std::list< IdValue > l)
Definition: synthesizerstate.h:48
void setIsDefault(bool val)
Definition: synthesizerstate.h:71
IdValue()
Definition: synthesizerstate.h:32