14#include "qwayland-server-zkde-screencast-unstable-v1.h"
18static int s_version = 3;
41 wl_resource_destroy(resource->handle);
48ScreencastStreamV1Interface::ScreencastStreamV1Interface(QObject *parent)
58 d->send_created(nodeid);
63 d->send_failed(error);
77 : QtWaylandServer::zkde_screencast_unstable_v1(*display, s_version)
85 stream->d->init(resource->client(), streamid, resource->version());
104 uint32_t pointer)
override
109 wl_fixed_to_double(scale),
120 uint32_t pointer)
override
123 {x, y, int(width), int(height)},
124 wl_fixed_to_double(scale),
130 wl_resource_destroy(resource->handle);
146#include "moc_screencast_v1.cpp"
Class holding the Wayland server display loop.
static OutputInterface * get(wl_resource *native)
void sendCreated(quint32 nodeid)
void sendFailed(const QString &error)
~ScreencastStreamV1Interface() override
void zkde_screencast_stream_unstable_v1_close(Resource *resource) override
ScreencastStreamV1InterfacePrivate(ScreencastStreamV1Interface *q)
ScreencastStreamV1Interface *const q
void zkde_screencast_stream_unstable_v1_destroy_resource(Resource *resource) override
ScreencastV1Interface(Display *display, QObject *parent=nullptr)
virtual ~ScreencastV1Interface()
void virtualOutputScreencastRequested(ScreencastStreamV1Interface *stream, const QString &name, const QSize &size, double scaling, CursorMode mode)
void outputScreencastRequested(ScreencastStreamV1Interface *stream, OutputInterface *output, CursorMode mode)
void regionScreencastRequested(ScreencastStreamV1Interface *stream, const QRect &geometry, qreal scaling, CursorMode mode)
void windowScreencastRequested(ScreencastStreamV1Interface *stream, const QString &winid, CursorMode mode)
void zkde_screencast_unstable_v1_stream_window(Resource *resource, uint32_t streamid, const QString &uuid, uint32_t pointer) override
ScreencastV1InterfacePrivate(Display *display, ScreencastV1Interface *q)
void zkde_screencast_unstable_v1_stream_virtual_output(Resource *resource, uint32_t streamid, const QString &name, int32_t width, int32_t height, wl_fixed_t scale, uint32_t pointer) override
ScreencastStreamV1Interface * createStream(Resource *resource, quint32 streamid) const
void zkde_screencast_unstable_v1_destroy(Resource *resource) override
void zkde_screencast_unstable_v1_stream_output(Resource *resource, uint32_t streamid, struct ::wl_resource *output, uint32_t pointer) override
ScreencastV1Interface *const q
void zkde_screencast_unstable_v1_stream_region(QtWaylandServer::zkde_screencast_unstable_v1::Resource *resource, uint32_t stream, int32_t x, int32_t y, uint32_t width, uint32_t height, wl_fixed_t scale, uint32_t pointer) override