blob: 2796d4d4b98c7771034a302d3cced13da9e44a5b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#pragma once
#include <forstio/async/async.h>
#include <forstio/core/common.h>
#include <string_view>
#include <variant>
#include "window.h"
/**
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
*/
|