- implemented basic competition mode that comes with a few restrictions.
This commit is contained in:
parent
e3cea06558
commit
b904566977
2 changed files with 6 additions and 3 deletions
|
@ -127,7 +127,8 @@ public:
|
|||
SettingNotAccessibleError = 901,
|
||||
InternalError = 950,
|
||||
InternalErrorTimerOperationFailed = 951,
|
||||
ApiVersionNotSupportedError = 952
|
||||
ApiVersionNotSupportedError = 952,
|
||||
CompetitionModeProhibitsThisError = 953
|
||||
};
|
||||
Q_ENUM(ScStw::StatusCode)
|
||||
|
||||
|
|
|
@ -53,7 +53,8 @@ public:
|
|||
ReadySoundDelaySetting,
|
||||
AtYourMarksSoundEnableSetting,
|
||||
AtYourMarksSoundDelaySetting,
|
||||
SoundVolumeSetting
|
||||
SoundVolumeSetting,
|
||||
CompetitionModeSetting
|
||||
};
|
||||
Q_ENUM(BaseStationSetting)
|
||||
|
||||
|
@ -86,7 +87,8 @@ public:
|
|||
{ReadySoundDelaySetting, QVariant::Double},
|
||||
{AtYourMarksSoundEnableSetting, QVariant::Bool},
|
||||
{AtYourMarksSoundDelaySetting, QVariant::Double},
|
||||
{SoundVolumeSetting, QVariant::Double}
|
||||
{SoundVolumeSetting, QVariant::Double},
|
||||
{CompetitionModeSetting, QVariant::Bool}
|
||||
};
|
||||
|
||||
if(types.contains(BaseStationSetting(key)))
|
||||
|
|
Reference in a new issue