Switch FOX_OTP option ON, and prevent a compilation error when it is switched of.

This commit is contained in:
Uwe Risse 2024-09-08 17:01:18 +02:00
parent 223d9f5d63
commit a52559758a
2 changed files with 3 additions and 1 deletions

View File

@ -127,7 +127,7 @@ option (WSJT_GENERATE_DOCS "Generate documentation files." ON)
option (WSJT_RIG_NONE_CAN_SPLIT "Allow split operation with \"None\" as rig.")
option (WSJT_TRACE_UDP "Debugging option that turns on UDP message protocol diagnostics.")
option (WSJT_BUILD_UTILS "Build simulators and code demonstrators." ON)
option (WSJT_FOX_OTP "Enable Fox OTP Verification Messages." OFF)
option (WSJT_FOX_OTP "Enable Fox OTP Verification Messages." ON)
CMAKE_DEPENDENT_OPTION (WSJT_QDEBUG_IN_RELEASE "Leave Qt debugging statements in Release configuration." OFF
"NOT is_debug_build" OFF)
CMAKE_DEPENDENT_OPTION (WSJT_ENABLE_EXPERIMENTAL_FEATURES "Enable features not fully ready for public releases." ON

View File

@ -897,7 +897,9 @@ private:
QString userAgent();
void handleVerifyMsg(int status, QDateTime ts, QString callsign, QString code, unsigned int hz, QString const &response);
void writeFoxTxMsgs();
#ifdef FOX_OTP
QString foxOTPcode();
#endif
};
extern int killbyname(const char* progName);