FileHandler.h
Go to the documentation of this file.
1 #ifndef B_FILE_HANDLER_H
2 #define B_FILE_HANDLER_H
3 
4 #include "OSdetect.h"
5 #include "Renderer_GL.h"
6 #include <string>
7 
8 namespace bRenderer
9 {
13  void setStandardFilePath(const std::string &path);
14 
18  std::string getFilePath(const std::string &fileName);
19 
23  bool fileExists(const std::string &fileName);
24 
25 } // namespace bRenderer
26 
27 #endif /* defined(B_FILE_HANDLER_H) */
std::string getFilePath(const std::string &fileName)
Get the full path to a file.
Definition: Configuration.h:8
bool fileExists(const std::string &fileName)
Check if a file exists.
void setStandardFilePath(const std::string &path)
On desktop systems the standard lookup path for files can be specified.