Debian Codegraph @

libqnapi/src/utils/syncxmlrpc.h

raw symbols SCIP
1 /*****************************************************************************
2 ** QNapi
3 ** Copyright (C) 2008-2017 Piotr KrzemiƄski <[email protected]>
4 **
5 ** This program is free software; you can redistribute it and/or modify
6 ** it under the terms of the GNU General Public License as published by
7 ** the Free Software Foundation; either version 2 of the License, or
8 ** (at your option) any later version.
9 **
10 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
11 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
12 **
13 *****************************************************************************/
14
15 #ifndef SYNCXMLRPC_H
16 #define SYNCXMLRPC_Hcxx . . $ `libqnapi/src/utils/syncxmlrpc.h:16:9`!
17
18 #include <QEventLoop>
19 #include <QNetworkAccessManager>
20 #include <QNetworkRequest>
21 #include <QObject>
22 #include "maiaXmlRpcClient.h"cxx . . $ `<file>/deps/libmaia/maiaXmlRpcClient.h`/
23
24 class SyncXmlRpccxx . . $ SyncXmlRpc# : public QObjectcxx . . $ QObject# {
25 Q_OBJECTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:170:9`!
26 public:
27 SyncXmlRpccxx . . $ SyncXmlRpc#SyncXmlRpc(37355d2f77053a23).(const QUrlcxx . . $ QUrl#& endPoint);
28
29 bool requestcxx . . $ SyncXmlRpc#request(de4f3e11efe038f9).(const QStringcxx . . $ QString#& method, const QVariantListcxx . . $ QVariantList#& args);
30 QVariantcxx . . $ QVariant# getResponsecxx . . $ SyncXmlRpc#getResponse(23280f95d1ccaa1f).() const;
31 QVariantcxx . . $ QVariant# getErrorcxx . . $ SyncXmlRpc#getError(23280f95d1ccaa1f).() const;
32
33 private slotscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:88:14`!:
34
35 void whenResponsecxx . . $ SyncXmlRpc#whenResponse(61eb226a9831f012).(QVariantcxx . . $ QVariant#& response);
36
37 void whenFaultcxx . . $ SyncXmlRpc#whenFault(4b11a7293b4ed91c).(int err, const QStringcxx . . $ QString#& msg);
38
39 private:
40 bool resultcxx . . $ SyncXmlRpc#result.;
41 int errorcxx . . $ SyncXmlRpc#error.;
42 QStringcxx . . $ QString# messagecxx . . $ SyncXmlRpc#message.;
43 QVariantcxx . . $ QVariant# respcxx . . $ SyncXmlRpc#resp.;
44 QEventLoopcxx . . $ QEventLoop# loopcxx . . $ SyncXmlRpc#loop.;
45 MaiaXmlRpcClientcxx . . $ MaiaXmlRpcClient# rpccxx . . $ SyncXmlRpc#rpc.;
46 };
47
48 #endif