swift
Loading...
Searching...
No Matches
custom_datarefs.h
1// SPDX-FileCopyrightText: Copyright (C) swift Project Community / Contributors
2// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
3
4#ifndef SWIFT_SIM_XSWIFTBUS_CUSTOM_DATAREFS_H
5#define SWIFT_SIM_XSWIFTBUS_CUSTOM_DATAREFS_H
6
7namespace XSwiftBus
8{
11 {
13 static constexpr const char *name() { return "org/swift-project/xswiftbus/connected"; }
15 using type = int;
16 };
17
20 {
22 static constexpr const char *name() { return "org/swift-project/xswiftbus/callsign"; }
24 using type = std::string;
25 };
26
27} // namespace XSwiftBus
28
29#endif // SWIFT_SIM_XSWIFTBUS_CUSTOM_DATAREFS_H
Plugin loaded by X-Plane which publishes a DBus service.
Definition command.h:14
static constexpr const char * name()
Dataref name.
std::string type
Dataref type.
Is swift connected to a network?
static constexpr const char * name()
Dataref name.