SimpleGL  1.1.0
A framework for platform independent rendering
glfw_general.hpp
Go to the documentation of this file.
1 
8 #ifndef GLFW_GENERAL_HPP
9 #define GLFW_GENERAL_HPP
10 
11 #include "SimpleGL_Export.h"
12 
13 #include "glfw_callback.hpp"
14 
15 namespace sgl {
16 
22  class SIMPLEGL_EXPORT GLFW {
23 
24  private:
26  GLFW(void);
27 
28  public:
34  static void setErrorCallback(ErrorCallback* callback);
35 
37  static void pollEvents();
38 
40  static void terminate();
41  };
42 }
43 
44 #endif /* GLFW_GENERAL_HPP */
This class wraps a GLFW error callback.
This static class wraps general GLFW functions.
Generic namespace for the SimpleGL framework.
Definition: application.hpp:18