mirror of
https://github.com/JS8Call-improved/JS8Call-improved
synced 2026-08-13 17:47:36 -04:00
Rename all header files with .h extension Fix function declaration in HamlibTransceiver.h that overrode member function but was not marked override Remove unused variable in Modulator.cpp Remove unused files from source tree Remove duplicate LazyFillComboBox files Reformat codebase to LLVM C++ standard
30 lines
731 B
C++
30 lines
731 B
C++
#include "revision_utils.h"
|
|
#include <QCoreApplication>
|
|
|
|
QString version() {
|
|
#if defined(CMAKE_BUILD)
|
|
QString v{WSJTX_STRINGIZE(WSJTX_VERSION_MAJOR) "." WSJTX_STRINGIZE(
|
|
WSJTX_VERSION_MINOR) "." WSJTX_STRINGIZE(WSJTX_VERSION_PATCH)};
|
|
#if 0
|
|
#if defined(WSJTX_RC)
|
|
v += "-rc" WSJTX_STRINGIZE (WSJTX_RC)
|
|
#endif
|
|
#endif
|
|
#else
|
|
QString v{"Not for Release"};
|
|
#endif
|
|
|
|
return v;
|
|
}
|
|
|
|
QString program_title() {
|
|
return QString{"%1(v%2) de KN4CRD"}
|
|
.arg(QCoreApplication::applicationName())
|
|
.arg(QCoreApplication::applicationVersion());
|
|
}
|
|
|
|
QString program_version() {
|
|
return QString{"%1 v%2"}
|
|
.arg(QCoreApplication::applicationName())
|
|
.arg(QCoreApplication::applicationVersion());
|
|
}
|