diff options
| author | oldmud0 <oldmud0@users.noreply.github.com> | 2019-01-02 09:40:38 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-02 09:40:38 -0600 |
| commit | 4d93f059c01664ad074cf467e79a63b85e86beb0 (patch) | |
| tree | 57b8a9760796937e66e393b3bc00f4bee4337bdf /include/file_functions.h | |
| parent | 6f1bce5882676ea7affe717a2f5a00b8c3b7fe12 (diff) | |
| parent | ec1057b5d7e1d39963275bc2cbd79a53cf6f3f5c (diff) | |
Merge pull request #54 from OmniTroid/master
Restructuring + better cross-platform support
Diffstat (limited to 'include/file_functions.h')
| -rw-r--r-- | include/file_functions.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/file_functions.h b/include/file_functions.h new file mode 100644 index 0000000..6937ed8 --- /dev/null +++ b/include/file_functions.h @@ -0,0 +1,12 @@ +#ifndef FILE_FUNCTIONS_H +#define FILE_FUNCTIONS_H + +#include <QFileInfo> +#include <QDir> +#include <QString> + +bool file_exists(QString file_path); +bool dir_exists(QString file_path); +bool exists(QString p_path); + +#endif // FILE_FUNCTIONS_H |
