boo/include/IContext.hpp

22 lines
519 B
C++
Raw Normal View History

2015-04-18 20:41:09 +00:00
#ifndef ICONTEXT_HPP
#define ICONTEXT_HPP
2015-04-18 22:08:27 +00:00
#include <string>
2015-04-18 20:41:09 +00:00
class IContext
{
public:
2015-04-18 22:08:27 +00:00
virtual ~IContext() {}
virtual void setMinVersion (const int& min)=0;
virtual void setMajorVersion(const int& maj)=0;
virtual void create();
virtual const std::string version() const=0;
virtual const std::string name() const=0;
virtual int depthSize() const=0;
virtual int redDepth() const=0;
virtual int greenDepth() const=0;
virtual int blueDepth() const=0;
2015-04-18 20:41:09 +00:00
};
2015-04-18 22:08:27 +00:00
#endif // ICONTEXT_HPP