1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177
|
// Copyright 2025 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file was generated from org.gnome.Mutter.ScreenCast.xml
#ifndef REMOTING_HOST_LINUX_DBUS_INTERFACES_ORG_GNOME_MUTTER_SCREENCAST_H_
#define REMOTING_HOST_LINUX_DBUS_INTERFACES_ORG_GNOME_MUTTER_SCREENCAST_H_
#include "remoting/host/linux/gvariant_type.h"
namespace remoting {
namespace org_gnome_Mutter_ScreenCast {
// method
struct CreateSession {
static constexpr char kInterfaceName[] = "org.gnome.Mutter.ScreenCast";
static constexpr char kMethodName[] = "CreateSession";
static constexpr gvariant::Type kInType{
"("
"a{sv}" // properties
")"};
static constexpr gvariant::Type kOutType{
"("
"o" // session_path
")"};
};
// property
struct Version {
static constexpr char kInterfaceName[] = "org.gnome.Mutter.ScreenCast";
static constexpr char kPropertyName[] = "Version";
static constexpr gvariant::Type kType{"i"};
static constexpr bool kReadable = true;
static constexpr bool kWritable = false;
};
} // namespace org_gnome_Mutter_ScreenCast
namespace org_gnome_Mutter_ScreenCast_Session {
// method
struct Start {
static constexpr char kInterfaceName[] =
"org.gnome.Mutter.ScreenCast.Session";
static constexpr char kMethodName[] = "Start";
static constexpr gvariant::Type kInType{"()"};
static constexpr gvariant::Type kOutType{"()"};
};
// method
struct Stop {
static constexpr char kInterfaceName[] =
"org.gnome.Mutter.ScreenCast.Session";
static constexpr char kMethodName[] = "Stop";
static constexpr gvariant::Type kInType{"()"};
static constexpr gvariant::Type kOutType{"()"};
};
// method
struct RecordMonitor {
static constexpr char kInterfaceName[] =
"org.gnome.Mutter.ScreenCast.Session";
static constexpr char kMethodName[] = "RecordMonitor";
static constexpr gvariant::Type kInType{
"("
"s" // connector
"a{sv}" // properties
")"};
static constexpr gvariant::Type kOutType{
"("
"o" // stream_path
")"};
};
// method
struct RecordWindow {
static constexpr char kInterfaceName[] =
"org.gnome.Mutter.ScreenCast.Session";
static constexpr char kMethodName[] = "RecordWindow";
static constexpr gvariant::Type kInType{
"("
"a{sv}" // properties
")"};
static constexpr gvariant::Type kOutType{
"("
"o" // stream_path
")"};
};
// method
struct RecordArea {
static constexpr char kInterfaceName[] =
"org.gnome.Mutter.ScreenCast.Session";
static constexpr char kMethodName[] = "RecordArea";
static constexpr gvariant::Type kInType{
"("
"i" // x
"i" // y
"i" // width
"i" // height
"a{sv}" // properties
")"};
static constexpr gvariant::Type kOutType{
"("
"o" // stream_path
")"};
};
// method
struct RecordVirtual {
static constexpr char kInterfaceName[] =
"org.gnome.Mutter.ScreenCast.Session";
static constexpr char kMethodName[] = "RecordVirtual";
static constexpr gvariant::Type kInType{
"("
"a{sv}" // properties
")"};
static constexpr gvariant::Type kOutType{
"("
"o" // stream_path
")"};
};
// signal
struct Closed {
static constexpr char kInterfaceName[] =
"org.gnome.Mutter.ScreenCast.Session";
static constexpr char kSignalName[] = "Closed";
static constexpr gvariant::Type kType{"()"};
};
} // namespace org_gnome_Mutter_ScreenCast_Session
namespace org_gnome_Mutter_ScreenCast_Stream {
// method
struct Start {
static constexpr char kInterfaceName[] = "org.gnome.Mutter.ScreenCast.Stream";
static constexpr char kMethodName[] = "Start";
static constexpr gvariant::Type kInType{"()"};
static constexpr gvariant::Type kOutType{"()"};
};
// method
struct Stop {
static constexpr char kInterfaceName[] = "org.gnome.Mutter.ScreenCast.Stream";
static constexpr char kMethodName[] = "Stop";
static constexpr gvariant::Type kInType{"()"};
static constexpr gvariant::Type kOutType{"()"};
};
// property
struct Parameters {
static constexpr char kInterfaceName[] = "org.gnome.Mutter.ScreenCast.Stream";
static constexpr char kPropertyName[] = "Parameters";
static constexpr gvariant::Type kType{"a{sv}"};
static constexpr bool kReadable = true;
static constexpr bool kWritable = false;
};
// signal
struct PipeWireStreamAdded {
static constexpr char kInterfaceName[] = "org.gnome.Mutter.ScreenCast.Stream";
static constexpr char kSignalName[] = "PipeWireStreamAdded";
static constexpr gvariant::Type kType{
"("
"u" // node_id
")"};
};
} // namespace org_gnome_Mutter_ScreenCast_Stream
} // namespace remoting
#endif // REMOTING_HOST_LINUX_DBUS_INTERFACES_ORG_GNOME_MUTTER_SCREENCAST_H_
|