aboutsummaryrefslogtreecommitdiff
path: root/src/file_functions.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/file_functions.h')
-rw-r--r--src/file_functions.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/file_functions.h b/src/file_functions.h
new file mode 100644
index 00000000..ca1eeb5e
--- /dev/null
+++ b/src/file_functions.h
@@ -0,0 +1,11 @@
+#pragma once
+
+#include <QCoreApplication>
+#include <QDir>
+#include <QFileInfo>
+#include <QString>
+
+bool file_exists(QString file_path);
+bool dir_exists(QString file_path);
+bool exists(QString p_path);
+QString get_base_path();