Debian Codegraph @

online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/authentication_request.cpp

raw symbols SCIP
1 /*
2 * This file is part of OnlineAccountsDaemon
3 *
4 * Copyright (C) 2015 Canonical Ltd.
5 *
6 * Contact: Alberto Mardegan <[email protected]>
7 *
8 * This program is free software: you can redistribute it and/or modify it
9 * under the terms of the GNU Lesser General Public License version 3, as
10 * published by the Free Software Foundation.
11 *
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranties of
14 * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
15 * PURPOSE. See the GNU Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public License
18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 */
20
21 #include "authentication_request.h"cxx . . $ `<file>/online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/authentication_request.h`/
22
23 #include <QDebug>
24 #include "authenticator.h"cxx . . $ `<file>/online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/authenticator.h`/
25 #include "manager_adaptor.h"cxx . . $ `<file>/online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/manager_adaptor.h`/
26
27 using namespace OnlineAccountsDaemon;
28
29 namespace OnlineAccountsDaemoncxx . . $ OnlineAccountsDaemon/ {
30
31 class AuthenticationRequestPrivatecxx . . $ OnlineAccountsDaemon/AuthenticationRequestPrivate#: public QObjectcxx . . $ QObject#
32 {
33 Q_OBJECTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:170:9`!
34 Q_DECLARE_PUBLICcxx . . $ `<external>/15045578679651060896/qglobal.h:1172:9`!(AuthenticationRequest)
35
36 public:
37 AuthenticationRequestPrivatecxx . . $ OnlineAccountsDaemon/AuthenticationRequestPrivate#AuthenticationRequestPrivate(66944d3843d61855).(AuthenticationRequestcxx . . $ OnlineAccountsDaemon/AuthenticationRequest# *q);
38
39 private Q_SLOTScxx . . $ `<external>/1208926524888476972/qobjectdefs.h:92:10`!:
40 void onFinishedcxx . . $ OnlineAccountsDaemon/AuthenticationRequestPrivate#onFinished(49f6e7a06ebc5aa8).();
41
42 private:
43 Authenticatorcxx . . $ OnlineAccountsDaemon/Authenticator# m_authenticatorcxx . . $ OnlineAccountsDaemon/AuthenticationRequestPrivate#m_authenticator.;
44 AuthenticationRequestcxx . . $ OnlineAccountsDaemon/AuthenticationRequest# *q_ptrcxx . . $ OnlineAccountsDaemon/AuthenticationRequestPrivate#q_ptr.;
45 };
46
47 } // namespace
48
49 AuthenticationRequestPrivatecxx . . $ OnlineAccountsDaemon/AuthenticationRequestPrivate#::AuthenticationRequestPrivatecxx . . $ OnlineAccountsDaemon/AuthenticationRequestPrivate#AuthenticationRequestPrivate(66944d3843d61855).(AuthenticationRequestcxx . . $ OnlineAccountsDaemon/AuthenticationRequest# *q):
50 QObjectcxx . . $ QObject#QObject(749de1b6ae65bddd).(q),
51 q_ptrcxx . . $ OnlineAccountsDaemon/AuthenticationRequestPrivate#q_ptr.(q)
52 {
53 QObjectcxx . . $ QObject#::connectcxx . . $ QObject#connect(158df1d9a01a3410).(&m_authenticatorcxx . . $ OnlineAccountsDaemon/AuthenticationRequestPrivate#m_authenticator., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(finished()),
54 this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(onFinished()));
55 }
56
57 void AuthenticationRequestPrivatecxx . . $ OnlineAccountsDaemon/AuthenticationRequestPrivate#::onFinishedcxx . . $ OnlineAccountsDaemon/AuthenticationRequestPrivate#onFinished(49f6e7a06ebc5aa8).()
58 {
59 Q_Qcxx . . $ `<external>/15045578679651060896/qglobal.h:1178:9`!(AuthenticationRequest);
60 if (m_authenticatorcxx . . $ OnlineAccountsDaemon/AuthenticationRequestPrivate#m_authenticator..isErrorcxx . . $ OnlineAccountsDaemon/Authenticator#isError(50ce9a9e25b4a850).()) {
61 q->setErrorcxx . . $ OnlineAccountsDaemon/AsyncOperation#setError(c1427772cd1877b0).(m_authenticatorcxx . . $ OnlineAccountsDaemon/AuthenticationRequestPrivate#m_authenticator..errorNamecxx . . $ OnlineAccountsDaemon/Authenticator#errorName(6ef7b6c27b00b43d).(),
62 m_authenticatorcxx . . $ OnlineAccountsDaemon/AuthenticationRequestPrivate#m_authenticator..errorMessagecxx . . $ OnlineAccountsDaemon/Authenticator#errorMessage(6ef7b6c27b00b43d).());
63 } else {
64 q->setReplycxx . . $ OnlineAccountsDaemon/AsyncOperation#setReply(2f4009bfc0c7e161).(QListcxx . . $ QList#QList(ced63f7c635d850d).<QVariantcxx . . $ QVariant#>() <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). m_authenticatorcxx . . $ QVariant#QVariant(3e95df3e31f2cce8)..replycxx . . $ OnlineAccountsDaemon/Authenticator#reply(87f780dbe64191c4).());
65 }
66 }
67
68 AuthenticationRequestcxx . . $ OnlineAccountsDaemon/AuthenticationRequest#::AuthenticationRequestcxx . . $ OnlineAccountsDaemon/AuthenticationRequest#AuthenticationRequest(fd99699e6e8f0995).(const CallContextcxx . . $ OnlineAccountsDaemon/CallContext# &context, QObjectcxx . . $ QObject# *parent):
69 AsyncOperationcxx . . $ OnlineAccountsDaemon/AsyncOperation#(context, parent),
70 d_ptrcxx . . $ OnlineAccountsDaemon/AuthenticationRequest#d_ptr.(new AuthenticationRequestPrivatecxx . . $ OnlineAccountsDaemon/AuthenticationRequestPrivate#AuthenticationRequestPrivate(66944d3843d61855).(this))
71 {
72 }
73
74 AuthenticationRequestcxx . . $ OnlineAccountsDaemon/AuthenticationRequest#::~cxx . . $ OnlineAccountsDaemon/AuthenticationRequest#`~AuthenticationRequest`(ced63f7c635d850d).AuthenticationRequestcxx . . $ OnlineAccountsDaemon/AuthenticationRequest#()
75 {
76 delete d_ptrcxx . . $ OnlineAccountsDaemon/AuthenticationRequest#d_ptr.;
77 }
78
79 void AuthenticationRequestcxx . . $ OnlineAccountsDaemon/AuthenticationRequest#::setInteractivecxx . . $ OnlineAccountsDaemon/AuthenticationRequest#setInteractive(b45ddcbc8423892c).(bool interactive)
80 {
81 Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(AuthenticationRequest);
82 d->m_authenticatorcxx . . $ OnlineAccountsDaemon/AuthenticationRequestPrivate#m_authenticator..setInteractivecxx . . $ OnlineAccountsDaemon/Authenticator#setInteractive(b45ddcbc8423892c).(interactive);
83 }
84
85 void AuthenticationRequestcxx . . $ OnlineAccountsDaemon/AuthenticationRequest#::invalidateCachecxx . . $ OnlineAccountsDaemon/AuthenticationRequest#invalidateCache(49f6e7a06ebc5aa8).()
86 {
87 Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(AuthenticationRequest);
88 d->m_authenticatorcxx . . $ OnlineAccountsDaemon/AuthenticationRequestPrivate#m_authenticator..invalidateCachecxx . . $ OnlineAccountsDaemon/Authenticator#invalidateCache(49f6e7a06ebc5aa8).();
89 }
90
91 void AuthenticationRequestcxx . . $ OnlineAccountsDaemon/AuthenticationRequest#::authenticatecxx . . $ OnlineAccountsDaemon/AuthenticationRequest#authenticate(65dd63f57efcf987).(const Accountscxx . . $ Accounts/::AuthDatacxx . . $ Accounts/AuthData# &authData,
92 const QVariantMapcxx . . $ QVariantMap# &parameters)
93 {
94 Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(AuthenticationRequest);
95 QVariantMapcxx . . $ QVariantMap# pcxx . . $ QMap#QMap(21739d87639e1d56).(parameters);
96 p.insertcxx . . $ QMap#insert(929a1ed410fe8423).("requestorPid"cxx . . $ QString#QString(85c52e162fed56f9)., contextcxx . . $ QVariant#QVariant(d4f767463ce0a6b3).().clientPidcxx . . $ OnlineAccountsDaemon/CallContext#clientPid(455f465bc33b4cdf).());
97 d->m_authenticatorcxx . . $ OnlineAccountsDaemon/AuthenticationRequestPrivate#m_authenticator..authenticatecxx . . $ OnlineAccountsDaemon/Authenticator#authenticate(65dd63f57efcf987).(authData, p);
98 }
99
100 #include "authentication_request.moc"cxx . . $ `<file>/build/online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/lomiri-online-accounts-daemon_autogen/include/authentication_request.moc`/