blob: c547da281d67ae22a760f2ebb821a76920e94f58 (
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
26
27
28
29
30
31
32
|
#pragma once
#include <forstio/async/async.h>
#include <forstio/core/common.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
*/
}
}
|