summaryrefslogtreecommitdiffhomepage
path: root/tracker-test
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-12-03 22:23:08 +0100
committerStanislaw Halik <sthalik@misaki.pl>2017-12-04 12:19:26 +0100
commitb256886a5cb9f2ae3ebda70a2045b19ed9f4233e (patch)
tree4fa1e46de224cf834a05824dc1eb86001bdb3300 /tracker-test
parente89709a801e7874bc02c66848c638c6a0ccc85c1 (diff)
api: add status check for modules
Diffstat (limited to 'tracker-test')
-rw-r--r--tracker-test/test.cpp4
-rw-r--r--tracker-test/test.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/tracker-test/test.cpp b/tracker-test/test.cpp
index c662051e..d37d7373 100644
--- a/tracker-test/test.cpp
+++ b/tracker-test/test.cpp
@@ -30,9 +30,11 @@ test_tracker::~test_tracker()
{
}
-void test_tracker::start_tracker(QFrame*)
+module_status test_tracker::start_tracker(QFrame*)
{
t.start();
+
+ return status_ok();
}
#ifdef EMIT_NAN
diff --git a/tracker-test/test.h b/tracker-test/test.h
index 01133617..1b432be2 100644
--- a/tracker-test/test.h
+++ b/tracker-test/test.h
@@ -10,7 +10,7 @@ class test_tracker : public ITracker
public:
test_tracker();
~test_tracker() override;
- void start_tracker(QFrame *) override;
+ module_status start_tracker(QFrame *) override;
void data(double *data) override;
private: