From 55b170e5e713b060495fa0b4aeca1e400a7f388a Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Sat, 18 Apr 2015 15:15:17 -0700 Subject: [PATCH] Fix CGLXContext --- include/IContext.hpp | 4 ++-- libBoo.pri | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/include/IContext.hpp b/include/IContext.hpp index 95e3568..6904b70 100644 --- a/include/IContext.hpp +++ b/include/IContext.hpp @@ -10,7 +10,7 @@ public: virtual void setMinVersion (const int& min)=0; virtual void setMajorVersion(const int& maj)=0; - virtual void create(); + virtual void create()=0; virtual const std::string version() const=0; virtual const std::string name() const=0; virtual int depthSize() const=0; @@ -19,4 +19,4 @@ public: virtual int blueDepth() const=0; }; -#endif // ICONTEXT_HPP \ No newline at end of file +#endif // ICONTEXT_HPP diff --git a/libBoo.pri b/libBoo.pri index c553323..c0578d9 100644 --- a/libBoo.pri +++ b/libBoo.pri @@ -1,10 +1,14 @@ +!contains(CONFIG,c++11):CONFIG += C++11 + HEADERS += \ $$PWD/include/boo.hpp \ $$PWD/include/IContext.hpp \ $$PWD/include/CCGLContext.hpp \ + $$PWD/include/CGLXContext.hpp \ $$PWD/include/ISurface.hpp SOURCES += \ - $$PWD/src/CCGLContext.cpp + $$PWD/src/CCGLContext.cpp \ + $$PWD/src/CGLXContext.cpp INCLUDEPATH += $$PWD/include