| 1 | // SPDX-License-Identifier: GPL-3.0-or-latercxx . . $ `<file>/src/helper/sysctl/msgreceiver.h`/ |
| 2 | // Copyright 2019 Juan Palacios <[email protected]> |
| 3 | |
| 4 | #pragma once |
| 5 | |
| 6 | #include "helperids.h"cxx . . $ `<file>/src/helper/helperids.h`/ |
| 7 | #include <QObject> |
| 8 | #include <memory> |
| 9 | |
| 10 | class ICryptoLayercxx . . $ ICryptoLayer#; |
| 11 | class ISysfsWritercxx . . $ ISysfsWriter#; |
| 12 | class QByteArraycxx . . $ QByteArray#; |
| 13 | |
| 14 | class MsgReceivercxx . . $ MsgReceiver# final : public QObjectcxx . . $ QObject# |
| 15 | { |
| 16 | Q_OBJECTcxx . . $ `<external>/4830994369567095248/qtmetamacros.h:133:9`! |
| 17 | Q_CLASSINFOcxx . . $ `<external>/4830994369567095248/qtmetamacros.h:54:10`!("D-Bus Interface", DBUS_HELPER_SYSCTL_INTERFACE) |
| 18 | |
| 19 | public: |
| 20 | MsgReceivercxx . . $ MsgReceiver#MsgReceiver(f09e84cac6d7c2ff).(stdcxx . . $ std/::shared_ptrcxx . . $ std/shared_ptr#<ICryptoLayercxx . . $ ICryptoLayer#> cryptoLayer, |
| 21 | stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<ISysfsWritercxx . . $ ISysfsWriter#> &&sysfsWriter, |
| 22 | QObjectcxx . . $ QObject# *parent = nullptr); |
| 23 | ~cxx . . $ MsgReceiver#`~MsgReceiver`(ced63f7c635d850d).MsgReceivercxx . . $ MsgReceiver#(); |
| 24 | |
| 25 | public slotscxx . . $ `<external>/4830994369567095248/qtmetamacros.h:42:14`!: |
| 26 | // D-Bus interface methods |
| 27 | Q_SCRIPTABLEcxx . . $ `<external>/4830994369567095248/qtmetamacros.h:77:9`! void applycxx . . $ MsgReceiver#apply(a34492a60dbd2bdc).(QByteArraycxx . . $ QByteArray# const &data, QByteArraycxx . . $ QByteArray# const &signature); |
| 28 | |
| 29 | private: |
| 30 | stdcxx . . $ std/::shared_ptrcxx . . $ std/shared_ptr#<ICryptoLayercxx . . $ ICryptoLayer#> cryptoLayer_cxx . . $ MsgReceiver#cryptoLayer_.; |
| 31 | stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<ISysfsWritercxx . . $ ISysfsWriter#> sysfsWriter_cxx . . $ MsgReceiver#sysfsWriter_.; |
| 32 | }; |