Files
wayviewer/src/vnc_client.hpp
T
2026-06-28 09:49:44 -05:00

23 lines
445 B
C++

#pragma once
#include "options.hpp"
#include "viewer_state.hpp"
#include <rfb/rfbclient.h>
#include <memory>
namespace wayviewer {
struct ClientContext {
Options* options = nullptr;
ViewerState* state = nullptr;
};
using RfbClientPtr = std::unique_ptr<rfbClient, decltype(&rfbClientCleanup)>;
const char* sdlScaleFilter(Quality quality);
RfbClientPtr createClient(Options& options, ViewerState& state, ClientContext& context);
}