Move cyc source to firmware
This commit is contained in:
committed by
Raphael Coeffic
parent
4c92f9dbc9
commit
ac9ce745bd
@@ -295,7 +295,8 @@ class Firmware
|
||||
switchesLookupTable(Boards::getSwitchesLookupTable(board)),
|
||||
trimSwitchesLookupTable(Boards::getTrimSwitchesLookupTable(board)),
|
||||
rawSwitchTypesLookupTable(RawSwitch::getRawSwitchTypesLookupTable()),
|
||||
rawSourceSpecialTypesLookupTable(RawSource::getSpecialTypesLookupTable())
|
||||
rawSourceSpecialTypesLookupTable(RawSource::getSpecialTypesLookupTable()),
|
||||
rawSourceCyclicLookupTable(RawSource::getCyclicLookupTable())
|
||||
{
|
||||
}
|
||||
|
||||
@@ -429,6 +430,11 @@ class Firmware
|
||||
return &rawSourceSpecialTypesLookupTable;
|
||||
}
|
||||
|
||||
const StringTagMappingTable* getRawSourceCyclicLookupTable()
|
||||
{
|
||||
return &rawSourceCyclicLookupTable;
|
||||
}
|
||||
|
||||
int getAnalogInputIndex(const char * tag);
|
||||
std::string getAnalogInputTag(unsigned int index);
|
||||
int getSwitchesIndex(const char * tag);
|
||||
@@ -439,6 +445,8 @@ class Firmware
|
||||
std::string getRawSwitchTypesTag(unsigned int index);
|
||||
int getRawSourceSpecialTypesIndex(const char * tag);
|
||||
std::string getRawSourceSpecialTypesTag(unsigned int index);
|
||||
int getRawSourceCyclicIndex(const char * tag);
|
||||
std::string getRawSourceCyclicTag(unsigned int index);
|
||||
|
||||
protected:
|
||||
QString id;
|
||||
@@ -452,6 +460,7 @@ class Firmware
|
||||
const StringTagMappingTable trimSwitchesLookupTable;
|
||||
const StringTagMappingTable rawSwitchTypesLookupTable;
|
||||
const StringTagMappingTable rawSourceSpecialTypesLookupTable;
|
||||
const StringTagMappingTable rawSourceCyclicLookupTable;
|
||||
QList<const char *> languages;
|
||||
//QList<const char *> ttslanguages;
|
||||
OptionsList opts;
|
||||
|
||||
Reference in New Issue
Block a user