summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/facetracknoir.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-10-23 19:48:06 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-10-23 19:48:06 +0200
commit18e2eb1ad59db93f575bf9199d9f361c05161e70 (patch)
tree97310231baa38b7652bd51df8fb525444a9a1dc1 /facetracknoir/facetracknoir.h
parent82d38a7ed6f1238909c6a493b002a9d4cafe548d (diff)
integrate Git version in the titlebar
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
Diffstat (limited to 'facetracknoir/facetracknoir.h')
-rw-r--r--facetracknoir/facetracknoir.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/facetracknoir/facetracknoir.h b/facetracknoir/facetracknoir.h
index 491274c8..499bdf3f 100644
--- a/facetracknoir/facetracknoir.h
+++ b/facetracknoir/facetracknoir.h
@@ -58,6 +58,8 @@
#include "ftnoir_tracker_base/ftnoir_tracker_base.h"
#include "ftnoir_filter_base/ftnoir_filter_base.h"
+#include "opentrack-version.h"
+
class Tracker; // pre-define class to avoid circular includes
class FaceTrackNoIR;
@@ -68,6 +70,7 @@ class FaceTrackNoIR : public QMainWindow, IDynamicLibraryProvider
Q_OBJECT
public:
+ volatile const char* __opentrack_version__ = "$OPENTRACK_VERSION=" OPENTRACK_VERSION "$";
FaceTrackNoIR(QWidget *parent = 0, Qt::WindowFlags flags = 0);
~FaceTrackNoIR();