summaryrefslogtreecommitdiffstats
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.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/base/utils.h b/rbutil/rbutilqt/base/utils.h
index ae02a2ca95..bff05cce0a 100644
--- a/rbutil/rbutilqt/base/utils.h
+++ b/rbutil/rbutilqt/base/utils.h
@@ -31,9 +31,16 @@
class Utils : public QObject
{
public:
+ enum Size {
+ FilesystemTotal,
+ FilesystemFree
+ };
+
static bool recursiveRmdir(const QString &dirName);
static QString resolvePathCase(QString path);
static qulonglong filesystemFree(QString path);
+ static qulonglong filesystemTotal(QString path);
+ static qulonglong filesystemSize(QString path, enum Size type);
static QString findExecutable(QString name);
static QString checkEnvironment(bool permission);
static int compareVersionStrings(QString s1, QString s2);