initial commit
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
#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);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user