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.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/yage/core/iomanager.h b/yage/core/iomanager.h
index 6c623adf..556cffb4 100644
--- a/yage/core/iomanager.h
+++ b/yage/core/iomanager.h
@@ -15,12 +15,15 @@
namespace yage
{
-class IoManager
+namespace IoManager
{
-public:
- static bool readFileToBuffer(const std::string &file_path,
- std::vector<unsigned char> &buffer);
-};
+
+extern bool readFileToBuffer(const std::string &file_path,
+ std::vector<unsigned char> &buffer);
+
+extern std::string parentDirectory(std::string file_path);
+
+}
} // namespace yage