aboutsummaryrefslogtreecommitdiffstats
path: root/yage/core/iomanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'yage/core/iomanager.h')
-rw-r--r--yage/core/iomanager.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/yage/core/iomanager.h b/yage/core/iomanager.h
new file mode 100644
index 00000000..95abd652
--- /dev/null
+++ b/yage/core/iomanager.h
@@ -0,0 +1,27 @@
+/* ----------------------------------------------------------------------------
+ * iomanager.h
+ *
+ * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
+ * See file LICENSE for more details
+ * ----------------------------------------------------------------------------
+ */
+
+#ifndef IO_MANAGER_H
+#define IO_MANAGER_H
+
+#include <string>
+#include <vector>
+
+namespace yage
+{
+
+class IoManager
+{
+public:
+ static bool readFileToBuffer(const std::string &file_path,
+ std::vector<unsigned char> &buffer);
+};
+
+} // namespace yage
+
+#endif