equal
deleted
inserted
replaced
1 /**************************************************************************** |
1 /**************************************************************************** |
2 ** |
2 ** |
3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). |
3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
4 ** All rights reserved. |
4 ** All rights reserved. |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
6 ** |
6 ** |
7 ** This file is part of the tools applications of the Qt Toolkit. |
7 ** This file is part of the tools applications of the Qt Toolkit. |
8 ** |
8 ** |
77 bool moveDirectory(const QString&, const QString&, bool recursive = true); |
77 bool moveDirectory(const QString&, const QString&, bool recursive = true); |
78 |
78 |
79 bool createDirectory(const QString&, bool deleteBefore=false); |
79 bool createDirectory(const QString&, bool deleteBefore=false); |
80 |
80 |
81 bool execute(QString program, QString arguments = QString(), int timeout = -1, int *returnValue = NULL); |
81 bool execute(QString program, QString arguments = QString(), int timeout = -1, int *returnValue = NULL); |
|
82 bool resetDevice(); |
|
83 bool toggleDevicePower(int *returnValue = NULL); |
|
84 bool setDeviceAwake(bool activate, int *returnValue = NULL); |
82 private: |
85 private: |
83 bool connected; |
86 bool connected; |
84 }; |
87 }; |
85 |
88 |
86 #endif |
89 #endif |