diff options
author | Claudius "keldu" Holeksa <mail@keldu.de> | 2023-07-01 18:45:33 +0200 |
---|---|---|
committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2023-07-01 18:45:33 +0200 |
commit | 03a9b58a0b9c13f5e30240fdea6d1c81ef264415 (patch) | |
tree | 07f7961f07a7a5533144e57c1a5ac7a9a835a06b /src/window/device.h | |
parent | cc92e6fa0095df2e8244ee6fe247eea049eb3443 (diff) |
c++,window: Rewriting window code to match new code
Diffstat (limited to 'src/window/device.h')
-rw-r--r-- | src/window/device.h | 22 |
1 files changed, 4 insertions, 18 deletions
diff --git a/src/window/device.h b/src/window/device.h index c547da2..7d3cdb1 100644 --- a/src/window/device.h +++ b/src/window/device.h @@ -1,32 +1,18 @@ #pragma once +#include "window.h" + #include <forstio/async/async.h> #include <forstio/core/common.h> +#include <forstio/codec/data.h> +#include <forstio/io/io.h> #include <string_view> #include <variant> -#include "window.h" - namespace saw { namespace gfx { template<typename T> class device; } -/** -namespace saw { -class device { -public: - virtual ~device() = default; - - virtual own<window> create_window(const video_mode &mode, - std::string_view title_view) = 0; - virtual void flush() = 0; -}; - -class io_provider; -own<device> create_device(io_provider &provider); -} // namespace saw -*/ -} } |