git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add ServiceNameForegroundColor and ServiceNameBackgroundColor skin
[enigma2.git]
/
main
/
enigma.cpp
diff --git
a/main/enigma.cpp
b/main/enigma.cpp
index 933b20f8a1bb38ac400d6ad1fd34bac9699402e0..631a3fb25561c4d56ae2430546b0080bab2ba64e 100644
(file)
--- a/
main/enigma.cpp
+++ b/
main/enigma.cpp
@@
-281,3
+281,16
@@
void quitMainloop(int exitCode)
exit_code = exitCode;
eApp->quit(0);
}
+
+#include "version.h"
+
+const char *getEnigmaVersionString()
+{
+ return
+#ifdef ENIGMA2_CHECKOUT_TAG
+ ENIGMA2_CHECKOUT_TAG
+#else
+ "HEAD"
+#endif
+ "-" __DATE__;
+}