18 lines
326 B
C++
Executable File
18 lines
326 B
C++
Executable File
#ifndef TOOL_H
|
|
#define TOOL_H
|
|
#include <QString>
|
|
|
|
class Tool {
|
|
public:
|
|
Tool();
|
|
|
|
static QStringList getFileList(QString path);
|
|
static bool removeFile(QString path);
|
|
#ifdef Q_OS_LINUX
|
|
static QString writeCom(QString path);
|
|
#endif
|
|
static int64_t getAvailableStorage(QString mountedPath);
|
|
};
|
|
|
|
#endif // TOOL_H
|