15#include "CoreComponent.h"
27 isize frameBufferWidth;
28 isize frameBufferHeight;
37class Host final :
public CoreComponent {
39 Descriptions descriptions = {{
42 .description =
"Host Computer"
45 ConfigOptions options = {
54 HostConfig config = { };
63 using CoreComponent::CoreComponent;
65 Host& operator= (
const Host& other) {
78 template <
class T>
void serialize(T& worker) { } SERIALIZERS(serialize);
87 const Descriptions &getDescriptions()
const override {
return descriptions; }
91 void _dump(Category category, std::ostream& os)
const override;
100 const HostConfig &getConfig()
const {
return config; }
101 const ConfigOptions &getOptions()
const override {
return options; }
102 i64 getOption(Option opt)
const override;
103 void checkOption(Option opt, i64 value)
override;
104 void setOption(Option opt, i64 value)
override;
114 fs::path tmp() const throws;
117 fs::path tmp(const
string &name,
bool unique = false) const throws;
VirtualC64 project namespace.
Definition CmdQueue.cpp:16
@ OPT_HOST_REFRESH_RATE
Refresh rate of the host display.
Definition OptionTypes.h:28
@ OPT_HOST_SAMPLE_RATE
Refresh rate of the host display.
Definition OptionTypes.h:29
@ OPT_HOST_FRAMEBUF_HEIGHT
Current height of the emulator window.
Definition OptionTypes.h:31
@ OPT_HOST_FRAMEBUF_WIDTH
Current width of the emulator window.
Definition OptionTypes.h:30