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 class IoManager {
18 public:
19  static bool readFileToBuffer(const std::string &file_path,
20  std::vector<unsigned char> &buffer);
21 };
22 
23 } // yage
24 
25 #endif
static bool readFileToBuffer(const std::string &file_path, std::vector< unsigned char > &buffer)
Definition: iomanager.cpp:16
Definition: iomanager.hpp:17
Templated matrix class.
Definition: camera2d.hpp:17