#ifndef REMOTING_HOST_LINUX_DBUS_INTERFACES_ORG_CHROMIUM_TESTINTERFACE_H_
#define REMOTING_HOST_LINUX_DBUS_INTERFACES_ORG_CHROMIUM_TESTINTERFACE_H_
#include "remoting/host/linux/gvariant_type.h"
namespace remoting::org_chromium_TestInterface {
struct Echo {
static constexpr char kInterfaceName[] = "org.chromium.TestInterface";
static constexpr char kMethodName[] = "Echo";
static constexpr gvariant::Type kInType{
"("
"s"
")"};
static constexpr gvariant::Type kOutType{
"("
"s"
")"};
};
struct SlowEcho {
static constexpr char kInterfaceName[] = "org.chromium.TestInterface";
static constexpr char kMethodName[] = "SlowEcho";
static constexpr gvariant::Type kInType{
"("
"s"
")"};
static constexpr gvariant::Type kOutType{
"("
"s"
")"};
};
struct AsyncEcho {
static constexpr char kInterfaceName[] = "org.chromium.TestInterface";
static constexpr char kMethodName[] = "AsyncEcho";
static constexpr gvariant::Type kInType{
"("
"s"
")"};
static constexpr gvariant::Type kOutType{
"("
"s"
")"};
};
struct BrokenMethod {
static constexpr char kInterfaceName[] = "org.chromium.TestInterface";
static constexpr char kMethodName[] = "BrokenMethod";
static constexpr gvariant::Type kInType{"r"};
static constexpr gvariant::Type kOutType{"()"};
};
struct PerformAction {
static constexpr char kInterfaceName[] = "org.chromium.TestInterface";
static constexpr char kMethodName[] = "PerformAction";
static constexpr gvariant::Type kInType{
"("
"s"
"o"
")"};
static constexpr gvariant::Type kOutType{"()"};
};
struct Name {
static constexpr char kInterfaceName[] = "org.chromium.TestInterface";
static constexpr char kPropertyName[] = "Name";
static constexpr gvariant::Type kType{"s"};
static constexpr bool kReadable = true;
static constexpr bool kWritable = true;
};
struct Version {
static constexpr char kInterfaceName[] = "org.chromium.TestInterface";
static constexpr char kPropertyName[] = "Version";
static constexpr gvariant::Type kType{"n"};
static constexpr bool kReadable = true;
static constexpr bool kWritable = false;
};
struct Methods {
static constexpr char kInterfaceName[] = "org.chromium.TestInterface";
static constexpr char kPropertyName[] = "Methods";
static constexpr gvariant::Type kType{"as"};
static constexpr bool kReadable = true;
static constexpr bool kWritable = false;
};
struct Objects {
static constexpr char kInterfaceName[] = "org.chromium.TestInterface";
static constexpr char kPropertyName[] = "Objects";
static constexpr gvariant::Type kType{"ao"};
static constexpr bool kReadable = true;
static constexpr bool kWritable = false;
};
struct Bytes {
static constexpr char kInterfaceName[] = "org.chromium.TestInterface";
static constexpr char kPropertyName[] = "Bytes";
static constexpr gvariant::Type kType{"ay"};
static constexpr bool kReadable = true;
static constexpr bool kWritable = false;
};
struct Test {
static constexpr char kInterfaceName[] = "org.chromium.TestInterface";
static constexpr char kSignalName[] = "Test";
static constexpr gvariant::Type kType{
"("
"s"
")"};
};
}
#endif