YAGE  0.02
Yet Another Game Engine
iomanager.hpp
Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2  * iomanager.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef IO_MANAGER_HPP
10 #define IO_MANAGER_HPP
11 
12 #include <string>
13 #include <vector>
14 
15 namespace yage
16 {
17 
18 class IoManager
19 {
20 public:
21  static bool readFileToBuffer(const std::string &file_path,
22  std::vector<unsigned char> &buffer);
23 };
24 
25 } // yage
26 
27 #endif
static bool readFileToBuffer(const std::string &file_path, std::vector< unsigned char > &buffer)
Definition: iomanager.cpp:17
Definition: iomanager.hpp:18
Templated matrix class.
Definition: camera2d.hpp:17