summaryrefslogtreecommitdiffstats
path: root/tools/qtestlib/wince
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@nokia.com>2010-03-25 12:10:30 (GMT)
committerJoerg Bornemann <joerg.bornemann@nokia.com>2010-03-25 12:47:18 (GMT)
commit70f8e3ed2fea750a6a0fd7e08b10330a04eda6a0 (patch)
tree4a05d1e19a3083f08547330a3b213604c0cafc84 /tools/qtestlib/wince
parenta81b5cf5b4e5388f3bda2aa8c4855d9a1b0bba28 (diff)
downloadQt-70f8e3ed2fea750a6a0fd7e08b10330a04eda6a0.zip
Qt-70f8e3ed2fea750a6a0fd7e08b10330a04eda6a0.tar.gz
Qt-70f8e3ed2fea750a6a0fd7e08b10330a04eda6a0.tar.bz2
cetest build fix for TCP sync connection
Reviewed-by: mauricek
Diffstat (limited to 'tools/qtestlib/wince')
-rw-r--r--tools/qtestlib/wince/cetest/cetcpsyncconnection.cpp21
-rw-r--r--tools/qtestlib/wince/cetest/cetcpsyncconnection.h3
2 files changed, 24 insertions, 0 deletions
diff --git a/tools/qtestlib/wince/cetest/cetcpsyncconnection.cpp b/tools/qtestlib/wince/cetest/cetcpsyncconnection.cpp
index 99219f3..5494194 100644
--- a/tools/qtestlib/wince/cetest/cetcpsyncconnection.cpp
+++ b/tools/qtestlib/wince/cetest/cetcpsyncconnection.cpp
@@ -198,3 +198,24 @@ bool CeTcpSyncConnection::fileCreationTime(const QString &fileName, FILETIME* de
file.remove();
return result;
}
+
+bool CeTcpSyncConnection::resetDevice()
+{
+ qWarning("CeTcpSyncConnection::resetDevice not implemented");
+ return false;
+}
+
+bool CeTcpSyncConnection::toggleDevicePower(int *returnValue)
+{
+ Q_UNUSED(returnValue);
+ qWarning("CeTcpSyncConnection::toggleDevicePower not implemented");
+ return false;
+}
+
+bool CeTcpSyncConnection::setDeviceAwake(bool activate, int *returnValue)
+{
+ Q_UNUSED(activate);
+ Q_UNUSED(returnValue);
+ qWarning("CeTcpSyncConnection::setDeviceAwake not implemented");
+ return false;
+}
diff --git a/tools/qtestlib/wince/cetest/cetcpsyncconnection.h b/tools/qtestlib/wince/cetest/cetcpsyncconnection.h
index 77539cc..e603efc 100644
--- a/tools/qtestlib/wince/cetest/cetcpsyncconnection.h
+++ b/tools/qtestlib/wince/cetest/cetcpsyncconnection.h
@@ -75,6 +75,9 @@ public:
bool createDirectory(const QString&, bool deleteBefore=false);
bool execute(QString program, QString arguments = QString(), int timeout = -1, int *returnValue = NULL);
+ bool resetDevice();
+ bool toggleDevicePower(int *returnValue = NULL);
+ bool setDeviceAwake(bool activate, int *returnValue = NULL);
private:
bool connected;
};