| 1 | /* |
| 2 | * This file is part of libAuthentication |
| 3 | * |
| 4 | * Copyright (C) 2017-2020 Alberto Mardegan <[email protected]> |
| 5 | * |
| 6 | * This library is free software; you can redistribute it and/or |
| 7 | * modify it under the terms of the GNU Lesser General Public License |
| 8 | * version 2.1 as published by the Free Software Foundation. |
| 9 | * |
| 10 | * This library is distributed in the hope that it will be useful, but |
| 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 | * Lesser General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU Lesser General Public |
| 16 | * License along with this library; if not, write to the Free Software |
| 17 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA |
| 18 | * 02110-1301 USA |
| 19 | */ |
| 20 | |
| 21 | #ifndef OAP_QML_LOOPBACK_SERVER_H |
| 22 | #define OAP_QML_LOOPBACK_SERVER_Hcxx . . $ `online-accounts-plugins/lib/module/qml-loopback-server.h:22:9`! |
| 23 | |
| 24 | #include <LomiriOnlineAccountsPlugin/loopback-server.h>cxx . . $ `<file>/online-accounts-plugins/lib/LomiriOnlineAccountsPlugin/loopback-server.h`/ |
| 25 | |
| 26 | #include <QObject> |
| 27 | #include <QQmlParserStatus> |
| 28 | #include <QScopedPointer> |
| 29 | |
| 30 | namespace OnlineAccountsPlugincxx . . $ OnlineAccountsPlugin/ { |
| 31 | |
| 32 | class QmlLoopbackServerPrivatecxx . . $ OnlineAccountsPlugin/QmlLoopbackServerPrivate#; |
| 33 | class QmlLoopbackServercxx . . $ OnlineAccountsPlugin/QmlLoopbackServer#: public LoopbackServercxx . . $ OnlineAccountsPlugin/LoopbackServer#, public QQmlParserStatuscxx . . $ QQmlParserStatus# |
| 34 | { |
| 35 | Q_OBJECTcxx . . $ OnlineAccountsPlugin/QmlLoopbackServer#trUtf8(75d9f1c324b4579d). |
| 36 | Q_INTERFACEScxx . . $ `<external>/1208926524888476972/qobjectdefs.h:103:9`!(QQmlParserStatus) |
| 37 | Q_PROPERTYcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:104:9`!(int port READ port WRITE setPort NOTIFY portChanged) |
| 38 | Q_PROPERTYcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:104:9`!(bool listening READ isListening WRITE setListening |
| 39 | NOTIFY callbackUrlChanged) |
| 40 | |
| 41 | public: |
| 42 | QmlLoopbackServercxx . . $ OnlineAccountsPlugin/QmlLoopbackServer#QmlLoopbackServer(749de1b6ae65bddd).(QObjectcxx . . $ QObject# *parent = 0); |
| 43 | ~cxx . . $ OnlineAccountsPlugin/QmlLoopbackServer#`~QmlLoopbackServer`(ced63f7c635d850d).QmlLoopbackServercxx . . $ OnlineAccountsPlugin/QmlLoopbackServer#(); |
| 44 | |
| 45 | void setPortcxx . . $ OnlineAccountsPlugin/QmlLoopbackServer#setPort(d4f767463ce0a6b3).(int port); |
| 46 | int portcxx . . $ OnlineAccountsPlugin/QmlLoopbackServer#port(455f465bc33b4cdf).() const; |
| 47 | |
| 48 | void setListeningcxx . . $ OnlineAccountsPlugin/QmlLoopbackServer#setListening(b45ddcbc8423892c).(bool isListening); |
| 49 | |
| 50 | void classBegincxx . . $ OnlineAccountsPlugin/QmlLoopbackServer#classBegin(49f6e7a06ebc5aa8).() override; |
| 51 | void componentCompletecxx . . $ OnlineAccountsPlugin/QmlLoopbackServer#componentComplete(49f6e7a06ebc5aa8).() override; |
| 52 | |
| 53 | Q_SIGNALScxx . . $ `<external>/1208926524888476972/qobjectdefs.h:93:10`!: |
| 54 | void portChangedcxx . . $ OnlineAccountsPlugin/QmlLoopbackServer#portChanged(49f6e7a06ebc5aa8).(); |
| 55 | void callbackUrlChangedcxx . . $ OnlineAccountsPlugin/QmlLoopbackServer#callbackUrlChanged(49f6e7a06ebc5aa8).(); // to make the moc happy |
| 56 | |
| 57 | private: |
| 58 | Q_DECLARE_PRIVATEcxx . . $ `<external>/15045578679651060896/qglobal.h:1158:9`!(QmlLoopbackServer) |
| 59 | QScopedPointercxx . . $ QScopedPointer#<QmlLoopbackServerPrivatecxx . . $ OnlineAccountsPlugin/QmlLoopbackServerPrivate#> d_ptrcxx . . $ OnlineAccountsPlugin/QmlLoopbackServer#d_ptr.; |
| 60 | }; |
| 61 | |
| 62 | } // namespace |
| 63 | |
| 64 | #endif // OAP_QML_LOOPBACK_SERVER_H |