aboutsummaryrefslogtreecommitdiffstats
path: root/yage/core/iomanager.h
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2018-04-06 15:38:13 +0100
committerYann Herklotz <ymherklotz@gmail.com>2018-04-06 15:38:13 +0100
commit52fae93d2903fc606bb0c4347a994a1b1285835b (patch)
treea58a595c55d429c13368e8e216a573af92952605 /yage/core/iomanager.h
parent4416e0b3a3245f77bd8dde7d2bba80743c6fa20b (diff)
downloadYAGE-52fae93d2903fc606bb0c4347a994a1b1285835b.tar.gz
YAGE-52fae93d2903fc606bb0c4347a994a1b1285835b.zip
Fixing documentation and building
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