diff --git a/src/hyperion-aml/hyperion-aml.cpp b/src/hyperion-aml/hyperion-aml.cpp index cca5e688..b8ab1ff6 100644 --- a/src/hyperion-aml/hyperion-aml.cpp +++ b/src/hyperion-aml/hyperion-aml.cpp @@ -10,6 +10,9 @@ #include #include "AmlogicWrapper.h" +#include "HyperionConfig.h" + + using namespace vlofgren; // save the image as screenshot @@ -22,6 +25,11 @@ void saveScreenshot(const char * filename, const Image & image) int main(int argc, char ** argv) { + std::cout + << "hyperion-aml:" << std::endl + << "\tversion : " << HYPERION_VERSION_ID << std::endl + << "\tbuild time: " << __DATE__ << " " << __TIME__ << std::endl; + QCoreApplication app(argc, argv); try diff --git a/src/hyperion-dispmanx/hyperion-dispmanx.cpp b/src/hyperion-dispmanx/hyperion-dispmanx.cpp index abf78c8c..ed86f1dd 100644 --- a/src/hyperion-dispmanx/hyperion-dispmanx.cpp +++ b/src/hyperion-dispmanx/hyperion-dispmanx.cpp @@ -9,6 +9,8 @@ #include #include "DispmanxWrapper.h" +#include "HyperionConfig.h" + using namespace vlofgren; // save the image as screenshot @@ -21,6 +23,11 @@ void saveScreenshot(const char * filename, const Image & image) int main(int argc, char ** argv) { + std::cout + << "hyperion-dispmanx:" << std::endl + << "\tversion : " << HYPERION_VERSION_ID << std::endl + << "\tbuild time: " << __DATE__ << " " << __TIME__ << std::endl; + QCoreApplication app(argc, argv); try diff --git a/src/hyperion-remote/hyperion-remote.cpp b/src/hyperion-remote/hyperion-remote.cpp index 3636721f..42df87e9 100644 --- a/src/hyperion-remote/hyperion-remote.cpp +++ b/src/hyperion-remote/hyperion-remote.cpp @@ -13,6 +13,9 @@ #include "CustomParameter.h" #include "JsonConnection.h" +#include "HyperionConfig.h" + + using namespace vlofgren; /// Count the number of true values in a list of booleans @@ -28,6 +31,11 @@ int count(std::initializer_list values) int main(int argc, char * argv[]) { + std::cout + << "hyperion-remote:" << std::endl + << "\tversion : " << HYPERION_VERSION_ID << std::endl + << "\tbuild time: " << __DATE__ << " " << __TIME__ << std::endl; + QCoreApplication app(argc, argv); // force the locale diff --git a/src/hyperion-v4l2/hyperion-v4l2.cpp b/src/hyperion-v4l2/hyperion-v4l2.cpp index fe011f6d..2bb94018 100644 --- a/src/hyperion-v4l2/hyperion-v4l2.cpp +++ b/src/hyperion-v4l2/hyperion-v4l2.cpp @@ -24,6 +24,8 @@ #include "PixelFormatParameter.h" #include "ScreenshotHandler.h" +#include "HyperionConfig.h" + using namespace vlofgren; // save the image as screenshot @@ -36,6 +38,11 @@ void saveScreenshot(void *, const Image & image) int main(int argc, char** argv) { + std::cout + << "hyperion-v4l2:" << std::endl + << "\tversion : " << HYPERION_VERSION_ID << std::endl + << "\tbuild time: " << __DATE__ << " " << __TIME__ << std::endl; + QCoreApplication app(argc, argv); // force the locale diff --git a/src/hyperion-x11/hyperion-x11.cpp b/src/hyperion-x11/hyperion-x11.cpp index 7815aa34..31d5ab55 100644 --- a/src/hyperion-x11/hyperion-x11.cpp +++ b/src/hyperion-x11/hyperion-x11.cpp @@ -8,6 +8,7 @@ #include "protoserver/ProtoConnectionWrapper.h" #include "X11Wrapper.h" +#include "HyperionConfig.h" using namespace vlofgren; @@ -21,6 +22,11 @@ void saveScreenshot(const char * filename, const Image & image) int main(int argc, char ** argv) { + std::cout + << "hyperion-x11:" << std::endl + << "\tversion : " << HYPERION_VERSION_ID << std::endl + << "\tbuild time: " << __DATE__ << " " << __TIME__ << std::endl; + QCoreApplication app(argc, argv); try diff --git a/src/hyperiond/hyperiond.cpp b/src/hyperiond/hyperiond.cpp index be85a4b5..bc962464 100644 --- a/src/hyperiond/hyperiond.cpp +++ b/src/hyperiond/hyperiond.cpp @@ -92,11 +92,13 @@ Json::Value loadConfig(const std::string & configFile) int main(int argc, char** argv) { - std::cout << "Application build time: " << __DATE__ << " " << __TIME__ << std::endl; + std::cout + << "Hyperiond:" << std::endl + << "\tversion : " << HYPERION_VERSION_ID << std::endl + << "\tbuild time: " << __DATE__ << " " << __TIME__ << std::endl; // Initialising QCoreApplication QCoreApplication app(argc, argv); - std::cout << "Hyperion initialised, Version: " << HYPERION_VERSION_ID << std::endl; signal(SIGINT, signal_handler); signal(SIGTERM, signal_handler);