00001 #ifndef __NE_WINDOW_H__
00002 #define __NE_WINDOW_H__
00003
00004 #ifndef DOXYGEN_IGNORE_TAG
00005
00026 #endif
00027
00028 #include <string>
00029
00030 #include "../Types/Size2.h"
00031
00032 namespace NE
00033 {
00034 class Window
00035 {
00036 protected:
00037
00038
00039
00040 virtual void* getNativeWindow(void)const = 0;
00041
00042 public:
00043 Window(void) {};
00044 virtual ~Window(void) {}
00045
00046 virtual bool createWindow(const USize2& winSize, const unsigned short bpp, const bool isFullscreen, const std::string& windowName, const std::string& windowIcon ="", const bool showCursor = false)=0;
00047 virtual USize2 getWindowSize(void)const=0;
00048 virtual int getBitsPerPixel(void)const=0;
00049 virtual void destroyWindow(void)=0;
00050
00051 virtual bool needWindowClosure(void)const=0;
00052
00053 friend class Renderer;
00054 };
00055 }
00056
00107 #endif