summaryrefslogtreecommitdiffstats
path: root/src/plugins/sensors/blackberry/sensor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/sensors/blackberry/sensor.h')
-rw-r--r--src/plugins/sensors/blackberry/sensor.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/plugins/sensors/blackberry/sensor.h b/src/plugins/sensors/blackberry/sensor.h
index fb5b935d..7317f076 100644
--- a/src/plugins/sensors/blackberry/sensor.h
+++ b/src/plugins/sensors/blackberry/sensor.h
@@ -40,8 +40,12 @@
****************************************************************************/
//
-// This file is a temporary copy until it becomes available in the Blackberry NDK.
+// This file is a copy of the "sensor.h" header for the BlackBerry Playbook OS.
+// It is only inclulded here, because it is not available in the the Playbook NDK.
//
+#if !defined(Q_OS_BLACKBERRY_TABLET)
+#error "This file is supposed to be used only for BlackBerry Playbook OS."
+#endif
#ifndef SENSOR_H_
#define SENSOR_H_