KWin
Loading...
Searching...
No Matches
src
plugins
screencast
screencastmanager.h
Go to the documentation of this file.
1
/*
2
SPDX-FileCopyrightText: 2018-2020 Red Hat Inc
3
SPDX-FileCopyrightText: 2020 Aleix Pol Gonzalez <aleixpol@kde.org>
4
SPDX-FileContributor: Jan Grulich <jgrulich@redhat.com>
5
6
SPDX-License-Identifier: LGPL-2.0-or-later
7
*/
8
9
#pragma once
10
11
#include "plugin.h"
12
13
#include "
wayland/screencast_v1.h
"
14
15
namespace
KWin
16
{
17
class
Output;
18
class
ScreenCastStream;
19
class
PipeWireCore;
20
21
class
ScreencastManager
:
public
Plugin
22
{
23
Q_OBJECT
24
25
public
:
26
explicit
ScreencastManager
();
27
28
private
:
29
void
streamWindow(
ScreencastStreamV1Interface
*stream,
30
const
QString &winid,
31
ScreencastV1Interface::CursorMode
mode);
32
void
streamWaylandOutput(
ScreencastStreamV1Interface
*stream,
33
OutputInterface
*output,
34
ScreencastV1Interface::CursorMode
mode);
35
void
36
streamOutput(
ScreencastStreamV1Interface
*stream,
Output
*output,
ScreencastV1Interface::CursorMode
mode);
37
void
streamVirtualOutput(
ScreencastStreamV1Interface
*stream,
38
const
QString &name,
39
const
QSize &size,
40
double
scale,
41
ScreencastV1Interface::CursorMode
mode);
42
void
streamRegion(
ScreencastStreamV1Interface
*stream,
43
const
QRect &geometry,
44
qreal scale,
45
ScreencastV1Interface::CursorMode
mode);
46
47
void
integrateStreams(
ScreencastStreamV1Interface
*waylandStream,
ScreenCastStream
*stream);
48
49
ScreencastV1Interface
*m_screencast;
50
std::shared_ptr<PipeWireCore> m_core;
51
};
52
53
}
// namespace KWin
KWin::Output
Definition
output.h:132
KWin::OutputInterface
Definition
output.h:35
KWin::Plugin
Definition
plugin.h:26
KWin::ScreenCastStream
Definition
screencaststream.h:50
KWin::ScreencastManager
Definition
screencastmanager.h:22
KWin::ScreencastManager::ScreencastManager
ScreencastManager()
Definition
screencastmanager.cpp:31
KWin::ScreencastStreamV1Interface
Definition
screencast_v1.h:25
KWin::ScreencastV1Interface
Definition
screencast_v1.h:44
KWin::ScreencastV1Interface::CursorMode
CursorMode
Definition
screencast_v1.h:51
KWin
Definition
activation_test.cpp:20
screencast_v1.h
Generated on Sat Feb 17 2024 01:42:10 for KWin by
1.10.0