summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt/base/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/base/utils.h')
-rw-r--r--rbutil/rbutilqt/base/utils.h28
1 files changed, 6 insertions, 22 deletions
diff --git a/rbutil/rbutilqt/base/utils.h b/rbutil/rbutilqt/base/utils.h
index ba1989b3c3..cdc3d3be5b 100644
--- a/rbutil/rbutilqt/base/utils.h
+++ b/rbutil/rbutilqt/base/utils.h
@@ -26,30 +26,14 @@
26#include <QString> 26#include <QString>
27#include <QUrl> 27#include <QUrl>
28 28
29bool recRmdir( const QString &dirName ); 29class Utils
30QString resolvePathCase(QString path);
31qulonglong filesystemFree(QString path);
32QString findExecutable(QString name);
33QString check(bool permission);
34
35class RockboxInfo
36{ 30{
37public: 31public:
38 RockboxInfo(QString mountpoint); 32 static bool recursiveRmdir(const QString &dirName);
39 33 static QString resolvePathCase(QString path);
40 QString version() {return m_version;} 34 static qulonglong filesystemFree(QString path);
41 QString features(){return m_features;} 35 static QString findExecutable(QString name);
42 QString targetID() {return m_targetid;} 36 static QString checkEnvironment(bool permission);
43 QString target() {return m_target;}
44 int ram() { return m_ram; }
45 bool success() { return m_success; }
46private:
47 QString m_version;
48 QString m_features;
49 QString m_targetid;
50 QString m_target;
51 int m_ram;
52 bool m_success;
53}; 37};
54 38
55#endif 39#endif