summaryrefslogtreecommitdiffstats
path: root/tests/manual/qardboard/dummydeviceorientation.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/qardboard/dummydeviceorientation.h')
-rw-r--r--tests/manual/qardboard/dummydeviceorientation.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/manual/qardboard/dummydeviceorientation.h b/tests/manual/qardboard/dummydeviceorientation.h
new file mode 100644
index 000000000..5b8c2bdef
--- /dev/null
+++ b/tests/manual/qardboard/dummydeviceorientation.h
@@ -0,0 +1,21 @@
+// Copyright (C) 2017 Klaralvdalens Datakonsult AB (KDAB).
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
+
+#ifndef DUMMY_DEVICEORIENTATION_H
+#define DUMMY_DEVICEORIENTATION_H
+
+#include "abstractdeviceorientation.h"
+
+class DummyDeviceOrientation : public AbstractDeviceOrientation
+{
+ Q_OBJECT
+public:
+ DummyDeviceOrientation(QObject* parent = 0);
+
+public slots:
+ bool start() override;
+ void stop() override;
+};
+
+
+#endif // DUMMY_DEVICEORIENTATION_H