mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-07-31 13:12:30 -04:00
FOX_OTP option; embiggen the FoxKey field
This commit is contained in:
parent
8e6ca93259
commit
c2531f675e
@ -126,6 +126,7 @@ option (WSJT_GENERATE_DOCS "Generate documentation files." ON)
|
|||||||
option (WSJT_RIG_NONE_CAN_SPLIT "Allow split operation with \"None\" as rig.")
|
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_TRACE_UDP "Debugging option that turns on UDP message protocol diagnostics.")
|
||||||
option (WSJT_BUILD_UTILS "Build simulators and code demonstrators." ON)
|
option (WSJT_BUILD_UTILS "Build simulators and code demonstrators." ON)
|
||||||
|
option (WSJT_FOX_OTP "Enable Fox OTP Verification Messages." OFF)
|
||||||
CMAKE_DEPENDENT_OPTION (WSJT_QDEBUG_IN_RELEASE "Leave Qt debugging statements in Release configuration." OFF
|
CMAKE_DEPENDENT_OPTION (WSJT_QDEBUG_IN_RELEASE "Leave Qt debugging statements in Release configuration." OFF
|
||||||
"NOT is_debug_build" OFF)
|
"NOT is_debug_build" OFF)
|
||||||
CMAKE_DEPENDENT_OPTION (WSJT_ENABLE_EXPERIMENTAL_FEATURES "Enable features not fully ready for public releases." ON
|
CMAKE_DEPENDENT_OPTION (WSJT_ENABLE_EXPERIMENTAL_FEATURES "Enable features not fully ready for public releases." ON
|
||||||
@ -161,6 +162,12 @@ endif ()
|
|||||||
set (WSJT_PLUGIN_DESTINATION ${PLUGIN_DESTINATION} CACHE PATH "Path for plugins")
|
set (WSJT_PLUGIN_DESTINATION ${PLUGIN_DESTINATION} CACHE PATH "Path for plugins")
|
||||||
set (WSJT_QT_CONF_DESTINATION ${QT_CONF_DESTINATION} CACHE PATH "Path for the qt.conf file")
|
set (WSJT_QT_CONF_DESTINATION ${QT_CONF_DESTINATION} CACHE PATH "Path for the qt.conf file")
|
||||||
|
|
||||||
|
if (WSJT_FOX_OTP)
|
||||||
|
set (wsjt_fox_CXXSRCS
|
||||||
|
foxotpcode.cpp
|
||||||
|
)
|
||||||
|
message (STATUS "Including Fox verification code feature")
|
||||||
|
endif ()
|
||||||
|
|
||||||
#
|
#
|
||||||
# Project sources
|
# Project sources
|
||||||
@ -223,6 +230,7 @@ set (wsjt_qt_CXXSRCS
|
|||||||
widgets/DoubleClickableRadioButton.cpp
|
widgets/DoubleClickableRadioButton.cpp
|
||||||
Network/LotWUsers.cpp
|
Network/LotWUsers.cpp
|
||||||
Network/FileDownload.cpp
|
Network/FileDownload.cpp
|
||||||
|
Network/FoxVerifier.cpp
|
||||||
models/DecodeHighlightingModel.cpp
|
models/DecodeHighlightingModel.cpp
|
||||||
widgets/DecodeHighlightingListView.cpp
|
widgets/DecodeHighlightingListView.cpp
|
||||||
models/FoxLog.cpp
|
models/FoxLog.cpp
|
||||||
@ -292,6 +300,7 @@ set (wsjt_CXXSRCS
|
|||||||
lib/crc10.cpp
|
lib/crc10.cpp
|
||||||
lib/crc13.cpp
|
lib/crc13.cpp
|
||||||
lib/crc14.cpp
|
lib/crc14.cpp
|
||||||
|
${wsjt_fox_CXXSRCS}
|
||||||
)
|
)
|
||||||
# deal with a GCC v6 UB error message
|
# deal with a GCC v6 UB error message
|
||||||
set_source_files_properties (
|
set_source_files_properties (
|
||||||
@ -903,7 +912,9 @@ check_type_size (CACHE_ALL HAMLIB_OLD_CACHING)
|
|||||||
check_symbol_exists (rig_set_cache_timeout_ms "hamlib/rig.h" HAVE_HAMLIB_CACHING)
|
check_symbol_exists (rig_set_cache_timeout_ms "hamlib/rig.h" HAVE_HAMLIB_CACHING)
|
||||||
|
|
||||||
find_package (Usb REQUIRED)
|
find_package (Usb REQUIRED)
|
||||||
|
if (WSJT_FOX_OTP)
|
||||||
|
add_definitions (-DFOX_OTP)
|
||||||
|
endif ()
|
||||||
#
|
#
|
||||||
# Qt5 setup
|
# Qt5 setup
|
||||||
#
|
#
|
||||||
|
@ -3055,10 +3055,10 @@ Right click for insert and delete options.</string>
|
|||||||
<string><html><head/><body><p>SuperFox operator must enter a valid key to enable transmission.</p></body></html></string>
|
<string><html><head/><body><p>SuperFox operator must enter a valid key to enable transmission.</p></body></html></string>
|
||||||
</property>
|
</property>
|
||||||
<property name="maxLength">
|
<property name="maxLength">
|
||||||
<number>9</number>
|
<number>20</number>
|
||||||
</property>
|
</property>
|
||||||
<property name="alignment">
|
<property name="alignment">
|
||||||
<set>Qt::AlignCenter</set>
|
<set>Qt::AlignLeft</set>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user