aboutsummaryrefslogtreecommitdiff
path: root/include/file_functions.h
diff options
context:
space:
mode:
authoroldmud0 <oldmud0@users.noreply.github.com>2019-01-02 09:40:38 -0600
committerGitHub <noreply@github.com>2019-01-02 09:40:38 -0600
commit4d93f059c01664ad074cf467e79a63b85e86beb0 (patch)
tree57b8a9760796937e66e393b3bc00f4bee4337bdf /include/file_functions.h
parent6f1bce5882676ea7affe717a2f5a00b8c3b7fe12 (diff)
parentec1057b5d7e1d39963275bc2cbd79a53cf6f3f5c (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.h12
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