summaryrefslogtreecommitdiff
path: root/src/window/device.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/window/device.h')
-rw-r--r--src/window/device.h22
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
-*/
-}
}