diff options
Diffstat (limited to 'kms++/inc/kms++/mappedframebuffer.h')
-rw-r--r-- | kms++/inc/kms++/mappedframebuffer.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/kms++/inc/kms++/mappedframebuffer.h b/kms++/inc/kms++/mappedframebuffer.h new file mode 100644 index 0000000..ed3bc69 --- /dev/null +++ b/kms++/inc/kms++/mappedframebuffer.h @@ -0,0 +1,21 @@ +#pragma once + +namespace kms +{ + +class MappedFramebuffer : public Framebuffer, public IMappedFramebuffer +{ +public: + virtual ~MappedFramebuffer() { } + +protected: + MappedFramebuffer(Card& card, uint32_t id); + MappedFramebuffer(Card& card, uint32_t width, uint32_t height); + +public: + virtual uint32_t width() const = 0; + virtual uint32_t height() const = 0; + +}; + +} |