aboutsummaryrefslogtreecommitdiff
path: root/include/file_functions.h
diff options
context:
space:
mode:
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