Window.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include "WindowListener.hpp"
4 #include "../OpenGL/RenderTarget.hpp"
6 
7 namespace iv
8 {
9 
10 class Window : public InputSource
11 {
12 public:
13  virtual void set_listener( WindowListener * listener ) = 0;
14  virtual bool gpu_enabled() = 0;
15  virtual RenderTarget::Geometry geometry() = 0;
16  virtual RenderTarget * render_target() = 0;
17 
18 protected:
19  void setupGL();
20 
21 private:
22 };
23 
24 }