screen concept

This commit is contained in:
2023-07-26 12:24:18 +02:00
parent e92c7cbfa0
commit 3a1c15f313
7 changed files with 94 additions and 1 deletions

10
src/screen.hpp Normal file
View File

@ -0,0 +1,10 @@
#pragma once
struct Screen {
virtual ~Screen(void) = default;
// return nullptr if not next
// sets bool quit to true if exit
virtual Screen* poll(bool& quit) = 0;
};