6#ifndef DBUS_MINIMAL_P_H
7#define DBUS_MINIMAL_P_H
25typedef qint64 dbus_int64_t;
26typedef quint64 dbus_uint64_t;
27typedef qint32 dbus_int32_t;
28typedef quint32 dbus_uint32_t;
29typedef qint16 dbus_int16_t;
30typedef quint16 dbus_uint16_t;
33#define DBUS_MAJOR_VERSION 1
34#define DBUS_MINOR_VERSION 2
35#define DBUS_VERSION ((1
<< 16
) | (2
<< 8
))
40struct DBusPendingCall;
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
70typedef dbus_uint32_t dbus_unichar_t;
71typedef dbus_uint32_t dbus_bool_t;
83 DBUS_HANDLER_RESULT_HANDLED,
84 DBUS_HANDLER_RESULT_NOT_YET_HANDLED,
85 DBUS_HANDLER_RESULT_NEED_MEMORY
88#define DBUS_SERVICE_DBUS "org.freedesktop.DBus"
89#define DBUS_PATH_DBUS "/org/freedesktop/DBus"
90#define DBUS_PATH_LOCAL "/org/freedesktop/DBus/Local"
91#define DBUS_INTERFACE_DBUS "org.freedesktop.DBus"
92#define DBUS_INTERFACE_INTROSPECTABLE "org.freedesktop.DBus.Introspectable"
93#define DBUS_INTERFACE_PROPERTIES "org.freedesktop.DBus.Properties"
94#define DBUS_INTERFACE_LOCAL "org.freedesktop.DBus.Local"
96#define DBUS_NAME_FLAG_ALLOW_REPLACEMENT 0x1
97#define DBUS_NAME_FLAG_REPLACE_EXISTING 0x2
98#define DBUS_NAME_FLAG_DO_NOT_QUEUE 0x4
100#define DBUS_REQUEST_NAME_REPLY_PRIMARY_OWNER 1
101#define DBUS_REQUEST_NAME_REPLY_IN_QUEUE 2
102#define DBUS_REQUEST_NAME_REPLY_EXISTS 3
103#define DBUS_REQUEST_NAME_REPLY_ALREADY_OWNER 4
105#define DBUS_RELEASE_NAME_REPLY_RELEASED 1
106#define DBUS_RELEASE_NAME_REPLY_NON_EXISTENT 2
107#define DBUS_RELEASE_NAME_REPLY_NOT_OWNER 3
110typedef void (* DBusFreeFunction) (
void *memory);
115 DBUS_WATCH_READABLE = 1 << 0,
116 DBUS_WATCH_WRITABLE = 1 << 1,
117 DBUS_WATCH_ERROR = 1 << 2,
118
119
120
122 DBUS_WATCH_HANGUP = 1 << 3
123
124
125
126
132 DBUS_DISPATCH_DATA_REMAINS,
133 DBUS_DISPATCH_COMPLETE,
134 DBUS_DISPATCH_NEED_MEMORY
137typedef dbus_bool_t (* DBusAddWatchFunction) (DBusWatch *watch,
139typedef void (* DBusWatchToggledFunction) (DBusWatch *watch,
141typedef void (* DBusRemoveWatchFunction) (DBusWatch *watch,
143typedef dbus_bool_t (* DBusAddTimeoutFunction) (DBusTimeout *timeout,
145typedef void (* DBusTimeoutToggledFunction) (DBusTimeout *timeout,
147typedef void (* DBusRemoveTimeoutFunction) (DBusTimeout *timeout,
149typedef void (* DBusDispatchStatusFunction) (DBusConnection *connection,
150 DBusDispatchStatus new_status,
152typedef void (* DBusWakeupMainFunction) (
void *data);
153typedef void (* DBusPendingCallNotifyFunction) (DBusPendingCall *pending,
155typedef DBusHandlerResult (* DBusHandleMessageFunction) (DBusConnection *connection,
156 DBusMessage *message,
165 unsigned int dummy1 : 1;
166 unsigned int dummy2 : 1;
167 unsigned int dummy3 : 1;
168 unsigned int dummy4 : 1;
169 unsigned int dummy5 : 1;
175struct DBusMessageIter
179 dbus_uint32_t dummy3;
194#define DBUS_TYPE_INVALID ((int) '\0')
195#define DBUS_TYPE_INVALID_AS_STRING "\0"
196#define DBUS_TYPE_BYTE ((int) 'y')
197#define DBUS_TYPE_BYTE_AS_STRING "y"
198#define DBUS_TYPE_BOOLEAN ((int) 'b')
199#define DBUS_TYPE_BOOLEAN_AS_STRING "b"
200#define DBUS_TYPE_INT16 ((int) 'n')
201#define DBUS_TYPE_INT16_AS_STRING "n"
202#define DBUS_TYPE_UINT16 ((int) 'q')
203#define DBUS_TYPE_UINT16_AS_STRING "q"
204#define DBUS_TYPE_INT32 ((int) 'i')
205#define DBUS_TYPE_INT32_AS_STRING "i"
206#define DBUS_TYPE_UINT32 ((int) 'u')
207#define DBUS_TYPE_UINT32_AS_STRING "u"
208#define DBUS_TYPE_INT64 ((int) 'x')
209#define DBUS_TYPE_INT64_AS_STRING "x"
210#define DBUS_TYPE_UINT64 ((int) 't')
211#define DBUS_TYPE_UINT64_AS_STRING "t"
212#define DBUS_TYPE_DOUBLE ((int) 'd')
213#define DBUS_TYPE_DOUBLE_AS_STRING "d"
214#define DBUS_TYPE_STRING ((int) 's')
215#define DBUS_TYPE_STRING_AS_STRING "s"
216#define DBUS_TYPE_OBJECT_PATH ((int) 'o')
217#define DBUS_TYPE_OBJECT_PATH_AS_STRING "o"
218#define DBUS_TYPE_SIGNATURE ((int) 'g')
219#define DBUS_TYPE_SIGNATURE_AS_STRING "g"
220#define DBUS_TYPE_UNIX_FD ((int) 'h')
221#define DBUS_TYPE_UNIX_FD_AS_STRING "h"
223#define DBUS_TYPE_ARRAY ((int) 'a')
224#define DBUS_TYPE_ARRAY_AS_STRING "a"
225#define DBUS_TYPE_VARIANT ((int) 'v')
226#define DBUS_TYPE_VARIANT_AS_STRING "v"
228#define DBUS_TYPE_STRUCT ((int) 'r')
229#define DBUS_TYPE_STRUCT_AS_STRING "r"
230#define DBUS_TYPE_DICT_ENTRY ((int) 'e')
231#define DBUS_TYPE_DICT_ENTRY_AS_STRING "e"
233#define DBUS_STRUCT_BEGIN_CHAR ((int) '(')
234#define DBUS_STRUCT_BEGIN_CHAR_AS_STRING "("
235#define DBUS_STRUCT_END_CHAR ((int) ')')
236#define DBUS_STRUCT_END_CHAR_AS_STRING ")"
237#define DBUS_DICT_ENTRY_BEGIN_CHAR ((int) '{')
238#define DBUS_DICT_ENTRY_BEGIN_CHAR_AS_STRING "{"
239#define DBUS_DICT_ENTRY_END_CHAR ((int) '}')
240#define DBUS_DICT_ENTRY_END_CHAR_AS_STRING "}"
242#define DBUS_MAXIMUM_NAME_LENGTH 255
244#define DBUS_MESSAGE_TYPE_INVALID 0
245#define DBUS_MESSAGE_TYPE_METHOD_CALL 1
246#define DBUS_MESSAGE_TYPE_METHOD_RETURN 2
247#define DBUS_MESSAGE_TYPE_ERROR 3
248#define DBUS_MESSAGE_TYPE_SIGNAL 4
250#define DBUS_INTROSPECT_1_0_XML_NAMESPACE "http://www.freedesktop.org/standards/dbus"
251#define DBUS_INTROSPECT_1_0_XML_PUBLIC_IDENTIFIER "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
252#define DBUS_INTROSPECT_1_0_XML_SYSTEM_IDENTIFIER "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"
256typedef void (* DBusNewConnectionFunction) (DBusServer *server,
257 DBusConnection *new_connection,
friend bool operator==(const QByteArray::FromBase64Result &lhs, const QByteArray::FromBase64Result &rhs) noexcept
Returns true if lhs and rhs are equal, otherwise returns false.
friend bool operator!=(const QByteArray::FromBase64Result &lhs, const QByteArray::FromBase64Result &rhs) noexcept
Returns true if lhs and rhs are different, otherwise returns false.
QDBusVariant(QVariant &&v) noexcept
void setVariant(const QVariant &variant)
Assigns the value of the given Qt variant to this D-Bus variant.
void swap(QDBusVariant &other) noexcept
\memberswap{variant}
QDBusVariant(const QVariant &variant)
Constructs a new D-Bus variant from the given Qt variant.
QVariant variant() const
Returns this D-Bus variant as a QVariant object.
QDBusVariant() noexcept
Constructs a new D-Bus variant.
#define DBUS_INTROSPECT_1_0_XML_PUBLIC_IDENTIFIER
#define DBUS_INTROSPECT_1_0_XML_SYSTEM_IDENTIFIER
#define DBUS_SERVICE_DBUS
#define DBUS_INTERFACE_DBUS
#define DBUS_INTERFACE_PROPERTIES
#define DBUS_INTERFACE_INTROSPECTABLE
Q_DBUS_EXPORT bool isValidFixedType(int c)
Returns true if c is a valid, fixed D-Bus type.
Q_DBUS_EXPORT bool isValidMemberName(QStringView memberName)
Returns true if memberName is a valid member name.
QString dbusInterfaceIntrospectable()
QString dbusInterfaceProperties()
Q_DBUS_EXPORT bool isValidPartOfObjectPath(QStringView path)
Q_DBUS_EXPORT bool isValidBasicType(int c)
Returns true if c is a valid, basic D-Bus type.
QString nameOwnerChanged()
QString disconnectedErrorMessage()
Q_DBUS_EXPORT bool isValidUniqueConnectionName(QStringView busName)
Returns true if connName is a valid unique connection name.
Combined button and popup list for selecting options.
QFunctionPointer qdbus_resolve_me(const char *name)
#define DEFINEFUNC_CONDITIONALLY(ret, func, args, argcall, funcret, failret)
DBusConnection const char DBusError DBusBusType DBusError return DBusConnection DBusHandleMessageFunction void DBusFreeFunction return DBusConnection return DBusConnection return const char DBusError return DBusConnection DBusMessage dbus_uint32_t return DBusConnection dbus_bool_t DBusConnection DBusAddWatchFunction DBusRemoveWatchFunction DBusWatchToggledFunction void DBusFreeFunction return DBusConnection DBusDispatchStatusFunction void DBusFreeFunction DBusTimeout return DBusTimeout return DBusWatch return DBusWatch unsigned int return DBusError const DBusError return const DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessageIter int const void return DBusMessageIter DBusMessageIter return DBusMessageIter void DBusMessageIter void int return DBusMessage DBusMessageIter return DBusMessageIter return DBusMessageIter DBusMessageIter const char const char const char const char return DBusMessage return DBusMessage const char return DBusMessage dbus_bool_t return DBusMessage dbus_uint32_t return DBusMessage return DBusPendingCall DBusPendingCall return DBusPendingCall return dbus_int32_t return DBusServer return const char DBusError return DBusServer DBusNewConnectionFunction void DBusFreeFunction DBusServer DBusAddWatchFunction DBusRemoveWatchFunction DBusWatchToggledFunction void DBusFreeFunction return dbus_threads_init_default
DBusConnection const char DBusError DBusBusType DBusError return DBusConnection DBusHandleMessageFunction void DBusFreeFunction return DBusConnection return DBusConnection return const char DBusError return DBusConnection DBusMessage dbus_uint32_t return DBusConnection dbus_bool_t DBusConnection DBusAddWatchFunction DBusRemoveWatchFunction DBusWatchToggledFunction void DBusFreeFunction return DBusConnection DBusDispatchStatusFunction void DBusFreeFunction DBusTimeout return DBusTimeout return DBusWatch return DBusWatch unsigned int return DBusError const DBusError return const DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessageIter int const void * value
DBusConnection const char DBusError DBusBusType DBusError return DBusConnection DBusHandleMessageFunction void DBusFreeFunction return DBusConnection return DBusConnection return const char DBusError return DBusConnection DBusMessage dbus_uint32_t return DBusConnection dbus_bool_t DBusConnection DBusAddWatchFunction DBusRemoveWatchFunction DBusWatchToggledFunction void DBusFreeFunction return DBusConnection DBusDispatchStatusFunction void DBusFreeFunction DBusTimeout return DBusTimeout return DBusWatch return DBusWatch unsigned int return DBusError const DBusError return const DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessageIter * iter
DBusConnection const char DBusError DBusBusType DBusError return DBusConnection DBusHandleMessageFunction void DBusFreeFunction return DBusConnection return DBusConnection return const char DBusError return DBusConnection DBusMessage dbus_uint32_t return DBusConnection dbus_bool_t DBusConnection DBusAddWatchFunction DBusRemoveWatchFunction DBusWatchToggledFunction void DBusFreeFunction return DBusConnection DBusDispatchStatusFunction void DBusFreeFunction DBusTimeout return DBusTimeout return DBusWatch return DBusWatch unsigned int return DBusError const DBusError return const DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessageIter int const void return DBusMessageIter DBusMessageIter return DBusMessageIter void DBusMessageIter void int return DBusMessage DBusMessageIter return DBusMessageIter return DBusMessageIter DBusMessageIter const char const char const char const char return DBusMessage return DBusMessage const char return DBusMessage dbus_bool_t return DBusMessage dbus_uint32_t return DBusMessage dbus_get_local_machine_id
DBusConnection const char DBusError DBusBusType DBusError return DBusConnection DBusHandleMessageFunction void DBusFreeFunction return DBusConnection return DBusConnection return const char DBusError return DBusConnection DBusMessage * message
#define DEFINEFUNC(ret, func, args, argcall, funcret)
DBusConnection const char DBusError DBusBusType DBusError return DBusConnection DBusHandleMessageFunction void DBusFreeFunction return DBusConnection return DBusConnection return const char DBusError return DBusConnection DBusMessage dbus_uint32_t return DBusConnection dbus_bool_t DBusConnection DBusAddWatchFunction DBusRemoveWatchFunction DBusWatchToggledFunction void DBusFreeFunction return DBusConnection DBusDispatchStatusFunction void DBusFreeFunction DBusTimeout return DBusTimeout return DBusWatch return DBusWatch unsigned int return DBusError const DBusError return const DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessageIter int const void return DBusMessageIter DBusMessageIter return DBusMessageIter void DBusMessageIter void int return DBusMessage DBusMessageIter return DBusMessageIter return DBusMessageIter DBusMessageIter dbus_message_new_method_call
DBusConnection const char DBusError DBusBusType DBusError return DBusConnection DBusHandleMessageFunction void DBusFreeFunction return DBusConnection return DBusConnection return const char DBusError return DBusConnection DBusMessage dbus_uint32_t return DBusConnection dbus_bool_t DBusConnection DBusAddWatchFunction DBusRemoveWatchFunction DBusWatchToggledFunction void DBusFreeFunction return DBusConnection DBusDispatchStatusFunction void DBusFreeFunction DBusTimeout * timeout
DBusConnection const char DBusError DBusBusType DBusError return DBusConnection DBusHandleMessageFunction void DBusFreeFunction return DBusConnection return DBusConnection return const char DBusError return DBusConnection DBusMessage dbus_uint32_t return DBusConnection dbus_bool_t DBusConnection DBusAddWatchFunction DBusRemoveWatchFunction DBusWatchToggledFunction void DBusFreeFunction return DBusConnection DBusDispatchStatusFunction void DBusFreeFunction DBusTimeout return DBusTimeout return DBusWatch * watch
DBusConnection const char DBusError DBusBusType DBusError return DBusConnection DBusHandleMessageFunction void DBusFreeFunction return DBusConnection return DBusConnection return const char DBusError return DBusConnection DBusMessage dbus_uint32_t return DBusConnection dbus_bool_t DBusConnection DBusAddWatchFunction DBusRemoveWatchFunction DBusWatchToggledFunction void DBusFreeFunction return DBusConnection DBusDispatchStatusFunction void DBusFreeFunction DBusTimeout return DBusTimeout return DBusWatch return DBusWatch unsigned int return DBusError const DBusError return const DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessageIter int const void return DBusMessageIter DBusMessageIter return DBusMessageIter void DBusMessageIter void int return DBusMessage DBusMessageIter return DBusMessageIter return DBusMessageIter DBusMessageIter const char const char const char const char return DBusMessage return DBusMessage const char return DBusMessage dbus_bool_t return DBusMessage dbus_uint32_t return DBusMessage return DBusPendingCall DBusPendingCall return DBusPendingCall return dbus_int32_t return DBusServer * server
DBusConnection const char DBusError DBusBusType DBusError return DBusConnection DBusHandleMessageFunction void DBusFreeFunction return DBusConnection return DBusConnection return const char DBusError return DBusConnection DBusMessage dbus_uint32_t return DBusConnection dbus_bool_t DBusConnection DBusAddWatchFunction DBusRemoveWatchFunction DBusWatchToggledFunction void DBusFreeFunction return DBusConnection DBusDispatchStatusFunction void DBusFreeFunction DBusTimeout return DBusTimeout return DBusWatch return DBusWatch unsigned int return DBusError const DBusError return const DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessageIter int const void return DBusMessageIter DBusMessageIter return DBusMessageIter void DBusMessageIter void int * n_elements
DBusConnection const char * rule
DBusConnection const char DBusError DBusBusType DBusError return DBusConnection DBusHandleMessageFunction void DBusFreeFunction free_data_function
DBusConnection const char DBusError DBusBusType DBusError return DBusConnection DBusHandleMessageFunction void DBusFreeFunction return DBusConnection return DBusConnection return const char DBusError return DBusConnection DBusMessage dbus_uint32_t return DBusConnection dbus_bool_t exit_on_disconnect
DBusConnection const char DBusError DBusBusType DBusError return DBusConnection DBusHandleMessageFunction void DBusFreeFunction return DBusConnection return DBusConnection return const char DBusError return DBusConnection DBusMessage dbus_uint32_t return DBusConnection dbus_bool_t DBusConnection DBusAddWatchFunction DBusRemoveWatchFunction DBusWatchToggledFunction void DBusFreeFunction return DBusConnection DBusDispatchStatusFunction void DBusFreeFunction DBusTimeout return DBusTimeout return DBusWatch return DBusWatch unsigned int return DBusError const DBusError return const DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessageIter int const void return DBusMessageIter DBusMessageIter return DBusMessageIter void DBusMessageIter void int return DBusMessage DBusMessageIter return DBusMessageIter return DBusMessageIter DBusMessageIter const char const char const char const char return DBusMessage return DBusMessage const char return DBusMessage dbus_bool_t return DBusMessage dbus_uint32_t return DBusMessage return DBusPendingCall DBusPendingCall return DBusPendingCall return dbus_int32_t * slot_p
DBusConnection const char DBusError DBusBusType DBusError return DBusConnection DBusHandleMessageFunction void DBusFreeFunction return DBusConnection return DBusConnection return const char DBusError return DBusConnection DBusMessage dbus_uint32_t return DBusConnection dbus_bool_t DBusConnection DBusAddWatchFunction DBusRemoveWatchFunction DBusWatchToggledFunction void DBusFreeFunction return DBusConnection DBusDispatchStatusFunction void DBusFreeFunction DBusTimeout return DBusTimeout return DBusWatch return DBusWatch unsigned int return DBusError const DBusError return const DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessageIter int const void return DBusMessageIter DBusMessageIter * sub
DBusConnection const char DBusError DBusBusType DBusError return DBusConnection DBusHandleMessageFunction function
[0]
DBusConnection const char DBusError * error
#define DEBUGCALL(name, argcall)
DBusConnection const char DBusError DBusBusType DBusError return DBusConnection DBusHandleMessageFunction void DBusFreeFunction return DBusConnection return DBusConnection return const char DBusError return DBusConnection DBusMessage dbus_uint32_t return DBusConnection dbus_bool_t DBusConnection DBusAddWatchFunction DBusRemoveWatchFunction DBusWatchToggledFunction void DBusFreeFunction return DBusConnection DBusDispatchStatusFunction void DBusFreeFunction DBusTimeout return DBusTimeout return DBusWatch return DBusWatch unsigned int return DBusError const DBusError return const DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessageIter int const void return DBusMessageIter DBusMessageIter return DBusMessageIter void DBusMessageIter void int return DBusMessage DBusMessageIter return DBusMessageIter return DBusMessageIter DBusMessageIter const char const char const char const char return DBusMessage return DBusMessage const char return DBusMessage dbus_bool_t no_reply
DBusConnection const char DBusError DBusBusType DBusError return DBusConnection DBusHandleMessageFunction void DBusFreeFunction return DBusConnection return DBusConnection return const char DBusError return DBusConnection DBusMessage dbus_uint32_t return DBusConnection dbus_bool_t DBusConnection DBusAddWatchFunction DBusRemoveWatchFunction DBusWatchToggledFunction void DBusFreeFunction return DBusConnection DBusDispatchStatusFunction void DBusFreeFunction DBusTimeout return DBusTimeout return DBusWatch return DBusWatch unsigned int return DBusError const DBusError return const DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessageIter int const void return DBusMessageIter DBusMessageIter return DBusMessageIter void DBusMessageIter void int return DBusMessage DBusMessageIter return DBusMessageIter return DBusMessageIter DBusMessageIter const char const char const char const char return DBusMessage return DBusMessage const char return DBusMessage dbus_bool_t return DBusMessage dbus_uint32_t return DBusMessage return DBusPendingCall DBusPendingCall return DBusPendingCall return dbus_server_free_data_slot
DBusConnection const char DBusError DBusBusType DBusError return DBusConnection DBusHandleMessageFunction void DBusFreeFunction return DBusConnection return DBusConnection return const char DBusError return DBusConnection DBusMessage dbus_uint32_t return DBusConnection dbus_bool_t DBusConnection DBusAddWatchFunction DBusRemoveWatchFunction DBusWatchToggledFunction void * data
DBusConnection * connection
DBusConnection const char DBusError DBusBusType DBusError return DBusConnection DBusHandleMessageFunction void DBusFreeFunction return DBusConnection return DBusConnection return const char DBusError return DBusConnection DBusMessage dbus_uint32_t return DBusConnection dbus_bool_t DBusConnection DBusAddWatchFunction DBusRemoveWatchFunction DBusWatchToggledFunction void DBusFreeFunction return DBusConnection DBusDispatchStatusFunction void DBusFreeFunction DBusTimeout return DBusTimeout return DBusWatch return DBusWatch unsigned int return DBusError const DBusError return const DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessageIter int const void return DBusMessageIter DBusMessageIter return DBusMessageIter void DBusMessageIter void int return DBusMessage DBusMessageIter return DBusMessageIter return DBusMessageIter DBusMessageIter const char const char const char const char return DBusMessage return DBusMessage const char return DBusMessage dbus_bool_t return DBusMessage dbus_uint32_t return DBusMessage return DBusPendingCall * pending
bool operator<(const QElapsedTimer &lhs, const QElapsedTimer &rhs) noexcept
constexpr size_t qHash(const QSize &s, size_t seed=0) noexcept