summaryrefslogtreecommitdiffstats
path: root/tests/auto/windowsmobile/test/ddhelper.h
diff options
context:
space:
mode:
authorThomas Hartmann <Thomas.Hartmann@nokia.com>2009-04-30 13:31:55 (GMT)
committerThomas Hartmann <Thomas.Hartmann@nokia.com>2009-04-30 13:40:54 (GMT)
commitea80a3dc8acdb95c0c217b3574718c88c7a36e9f (patch)
treea8016cd9cf096d4cf56f864bb9ca40b43c4c912d /tests/auto/windowsmobile/test/ddhelper.h
parent9cb0419bd9559b5c9e0a95711a81391556306e51 (diff)
downloadQt-ea80a3dc8acdb95c0c217b3574718c88c7a36e9f.zip
Qt-ea80a3dc8acdb95c0c217b3574718c88c7a36e9f.tar.gz
Qt-ea80a3dc8acdb95c0c217b3574718c88c7a36e9f.tar.bz2
New autotest for Windows Mobile: tst_windowsmobile
This autotest tests some Windows Mobile 5.0 specific thing like the native menubar and the integration into the window manager by taking and comparing screenshots. This should prevent nasty regressions we had. This autotest makes only sense on Windows Mobile 5.0 in 480x640 Reviewed-by: maurice
Diffstat (limited to 'tests/auto/windowsmobile/test/ddhelper.h')
-rw-r--r--tests/auto/windowsmobile/test/ddhelper.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/auto/windowsmobile/test/ddhelper.h b/tests/auto/windowsmobile/test/ddhelper.h
new file mode 100644
index 0000000..3dfa9e6
--- /dev/null
+++ b/tests/auto/windowsmobile/test/ddhelper.h
@@ -0,0 +1,21 @@
+#ifndef __DDHELPER__
+#define __DDHELPER__
+
+extern uchar* q_frameBuffer();
+
+extern int q_screenDepth();
+
+extern int q_screenWidth();
+
+extern int q_screenHeight();
+
+extern int q_linestep();
+
+extern void q_initDD();
+
+extern void q_unlock();
+
+extern void q_lock();
+
+#endif //__DDHELPER__
+