File indexing completed on 2024-04-21 03:59:58

0001 /*
0002  * This file was generated by qdbusxml2cpp version 0.8
0003  * Command line was:
0004  *
0005  * qdbusxml2cpp is Copyright (C) 2016 The Qt Company Ltd.
0006  *
0007  * This is an auto-generated file.
0008  * Do not edit! All changes made to it will be lost.
0009  */
0010 
0011 #ifndef WIREGUARDDEVICEINTERFACE_H
0012 #define WIREGUARDDEVICEINTERFACE_H
0013 
0014 #include "generictypes.h"
0015 
0016 #include <QByteArray>
0017 #include <QDBusAbstractInterface>
0018 #include <QObject>
0019 #include <QString>
0020 
0021 /*
0022  * Proxy class for interface org.freedesktop.NetworkManager.Device.WireGuard
0023  */
0024 class OrgFreedesktopNetworkManagerDeviceWireGuardInterface : public QDBusAbstractInterface
0025 {
0026     Q_OBJECT
0027 public:
0028     static inline const char *staticInterfaceName()
0029 #ifdef NMQT_STATIC
0030     {
0031         return "org.kde.fakenetwork.Device.WireGuard";
0032     }
0033 #else
0034     {
0035         return "org.freedesktop.NetworkManager.Device.WireGuard";
0036     }
0037 #endif
0038 
0039 public:
0040     OrgFreedesktopNetworkManagerDeviceWireGuardInterface(const QString &service,
0041                                                          const QString &path,
0042                                                          const QDBusConnection &connection,
0043                                                          QObject *parent = nullptr);
0044 
0045     ~OrgFreedesktopNetworkManagerDeviceWireGuardInterface() override;
0046 
0047     Q_PROPERTY(QByteArray PublicKey READ publicKey)
0048     inline QByteArray publicKey() const
0049     {
0050         return qvariant_cast<QByteArray>(property("PublicKey"));
0051     }
0052 
0053     Q_PROPERTY(uint ListenPort READ listenPort)
0054     inline uint listenPort() const
0055     {
0056         return qvariant_cast<uint>(property("ListenPort"));
0057     }
0058 
0059     Q_PROPERTY(uint FwMark READ fwMark)
0060     inline uint fwMark() const
0061     {
0062         return qvariant_cast<uint>(property("FwMark"));
0063     }
0064 
0065 public Q_SLOTS: // METHODS
0066 Q_SIGNALS: // SIGNALS
0067 };
0068 
0069 #endif