Debian Codegraph @

online-accounts-plugins/lib/LomiriOnlineAccountsPlugin/loopback-server.h

raw symbols SCIP
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_LOOPBACK_SERVER_H
22 #define OAP_LOOPBACK_SERVER_Hcxx . . $ `online-accounts-plugins/lib/LomiriOnlineAccountsPlugin/loopback-server.h:22:9`!
23
24 #include "global.h"cxx . . $ `<file>/online-accounts-plugins/lib/LomiriOnlineAccountsPlugin/global.h`/
25
26 #include <QByteArray>
27 #include <QObject>
28 #include <QScopedPointer>
29 #include <QUrl>
30
31 namespace OnlineAccountsPlugincxx . . $ OnlineAccountsPlugin/ {
32
33 class LoopbackServerPrivatecxx . . $ OnlineAccountsPlugin/LoopbackServerPrivate#;
34 class OAP_EXPORTcxx . . $ `online-accounts-plugins/lib/LomiriOnlineAccountsPlugin/global.h:31:11`! LoopbackServercxx . . $ OnlineAccountsPlugin/LoopbackServer#: public QObjectcxx . . $ QObject#
35 {
36 Q_OBJECTcxx . . $ OnlineAccountsPlugin/LoopbackServer#tr(75d9f1c324b4579d).
37 Q_PROPERTYcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:104:9`!(QUrl callbackUrl READ callbackUrl NOTIFY callbackUrlChanged)
38 Q_PROPERTYcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:104:9`!(QByteArray servedHtml READ servedHtml WRITE setServedHtml
39 NOTIFY servedHtmlChanged)
40 Q_PROPERTYcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:104:9`!(int portIncrementAttempts READ portIncrementAttempts
41 WRITE setPortIncrementAttempts
42 NOTIFY portIncrementAttemptsChanged)
43
44 public:
45 LoopbackServercxx . . $ OnlineAccountsPlugin/LoopbackServer#LoopbackServer(749de1b6ae65bddd).(QObjectcxx . . $ QObject# *parent = 0);
46 ~cxx . . $ OnlineAccountsPlugin/LoopbackServer#`~LoopbackServer`(ced63f7c635d850d).LoopbackServercxx . . $ OnlineAccountsPlugin/LoopbackServer#();
47
48 Q_REQUIRED_RESULTcxx . . $ `<external>/4507883856836070869/qcompilerdetection.h:249:11`! bool listencxx . . $ OnlineAccountsPlugin/LoopbackServer#listen(3c978dac0e5ee2ad).(uint16_tcxx . . $ uint16_t# port = 0);
49 void closecxx . . $ OnlineAccountsPlugin/LoopbackServer#close(49f6e7a06ebc5aa8).();
50
51 bool isListeningcxx . . $ OnlineAccountsPlugin/LoopbackServer#isListening(50ce9a9e25b4a850).() const { return !callbackUrlcxx . . $ OnlineAccountsPlugin/LoopbackServer#callbackUrl(36d9834fe7321282).().isEmptycxx . . $ QUrl#isEmpty(50ce9a9e25b4a850).(); }
52 uint16_tcxx . . $ uint16_t# portcxx . . $ OnlineAccountsPlugin/LoopbackServer#port(72085aa11f4b6e09).() const;
53
54 void setPortIncrementAttemptscxx . . $ OnlineAccountsPlugin/LoopbackServer#setPortIncrementAttempts(d4f767463ce0a6b3).(int maxAttempts);
55 int portIncrementAttemptscxx . . $ OnlineAccountsPlugin/LoopbackServer#portIncrementAttempts(455f465bc33b4cdf).() const;
56
57 void setServedHtmlcxx . . $ OnlineAccountsPlugin/LoopbackServer#setServedHtml(45672f3c6961a244).(const QByteArraycxx . . $ QByteArray# &html);
58 QByteArraycxx . . $ QByteArray# servedHtmlcxx . . $ OnlineAccountsPlugin/LoopbackServer#servedHtml(a96750bfbcb1fbe9).() const;
59
60 QUrlcxx . . $ QUrl# callbackUrlcxx . . $ OnlineAccountsPlugin/LoopbackServer#callbackUrl(36d9834fe7321282).() const;
61
62 Q_SIGNALScxx . . $ `<external>/1208926524888476972/qobjectdefs.h:93:10`!:
63 void portIncrementAttemptsChangedcxx . . $ OnlineAccountsPlugin/LoopbackServer#portIncrementAttemptsChanged(49f6e7a06ebc5aa8).();
64 void servedHtmlChangedcxx . . $ OnlineAccountsPlugin/LoopbackServer#servedHtmlChanged(49f6e7a06ebc5aa8).();
65 void callbackUrlChangedcxx . . $ OnlineAccountsPlugin/LoopbackServer#callbackUrlChanged(49f6e7a06ebc5aa8).();
66 void visitedcxx . . $ OnlineAccountsPlugin/LoopbackServer#visited(37355d2f77053a23).(const QUrlcxx . . $ QUrl# &url);
67
68 private:
69 Q_DECLARE_PRIVATEcxx . . $ OnlineAccountsPlugin/LoopbackServer#d_func(1afca89de925ee31).(LoopbackServer)
70 QScopedPointercxx . . $ QScopedPointer#<LoopbackServerPrivatecxx . . $ OnlineAccountsPlugin/LoopbackServerPrivate#> d_ptrcxx . . $ OnlineAccountsPlugin/LoopbackServer#d_ptr.;
71 };
72
73 } // namespace
74
75 #endif // OAP_LOOPBACK_SERVER_H