mirror of https://github.com/AxioDL/boo.git
restored IContext.hpp
This commit is contained in:
parent
00419ac0b2
commit
319b1c3b1c
|
@ -1,12 +1,22 @@
|
||||||
#ifndef ICONTEXT_HPP
|
#ifndef ICONTEXT_HPP
|
||||||
#define ICONTEXT_HPP
|
#define ICONTEXT_HPP
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
|
||||||
class IContext
|
class IContext
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
IContext();
|
virtual ~IContext() {}
|
||||||
~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;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // ICONTEXT_HPP
|
#endif // ICONTEXT_HPP
|
Loading…
Reference in New Issue