| 1 | /* |
| 2 | * Copyright (C) 2014 Canonical Ltd. |
| 3 | * |
| 4 | * Contact: Alberto Mardegan <[email protected]> |
| 5 | * |
| 6 | * This file is part of lomiri-online-accounts-ui and lomiri-online-accounts- |
| 7 | * service |
| 8 | * |
| 9 | * This program is free software: you can redistribute it and/or modify it |
| 10 | * under the terms of the GNU General Public License version 3, as published |
| 11 | * by the Free Software Foundation. |
| 12 | * |
| 13 | * This program is distributed in the hope that it will be useful, but |
| 14 | * WITHOUT ANY WARRANTY; without even the implied warranties of |
| 15 | * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR |
| 16 | * PURPOSE. See the GNU General Public License for more details. |
| 17 | * |
| 18 | * You should have received a copy of the GNU General Public License along |
| 19 | * with this program. If not, see <http://www.gnu.org/licenses/>. |
| 20 | */ |
| 21 | |
| 22 | #ifndef OAU_IPC_H |
| 23 | #define OAU_IPC_Hcxx . . $ `online-accounts-common/ipc.h:23:9`! |
| 24 | |
| 25 | #include <QObject> |
| 26 | |
| 27 | class QByteArraycxx . . $ QByteArray#; |
| 28 | class QIODevicecxx . . $ QIODevice#; |
| 29 | |
| 30 | #define OAU_OPERATION_CODEcxx . . $ `online-accounts-common/ipc.h:30:9`! "code" |
| 31 | #define OAU_OPERATION_CODE_PROCESScxx . . $ `online-accounts-common/ipc.h:31:9`! "process" |
| 32 | #define OAU_OPERATION_CODE_REGISTER_HANDLERcxx . . $ `online-accounts-common/ipc.h:32:9`! "newHandler" |
| 33 | #define OAU_OPERATION_CODE_REQUEST_FINISHEDcxx . . $ `online-accounts-common/ipc.h:33:9`! "finished" |
| 34 | #define OAU_OPERATION_CODE_REQUEST_FAILEDcxx . . $ `online-accounts-common/ipc.h:34:9`! "failed" |
| 35 | #define OAU_OPERATION_IDcxx . . $ `online-accounts-common/ipc.h:35:9`! "id" |
| 36 | #define OAU_OPERATION_DATAcxx . . $ `online-accounts-common/ipc.h:36:9`! "data" |
| 37 | #define OAU_OPERATION_DELAYcxx . . $ `online-accounts-common/ipc.h:37:9`! "delay" |
| 38 | #define OAU_OPERATION_INTERFACEcxx . . $ `online-accounts-common/ipc.h:38:9`! "interface" |
| 39 | #define OAU_OPERATION_CLIENT_PROFILEcxx . . $ `online-accounts-common/ipc.h:39:9`! "profile" |
| 40 | #define OAU_OPERATION_ERROR_NAMEcxx . . $ `online-accounts-common/ipc.h:40:9`! "errname" |
| 41 | #define OAU_OPERATION_ERROR_MESSAGEcxx . . $ `online-accounts-common/ipc.h:41:9`! "errmsg" |
| 42 | #define OAU_OPERATION_HANDLER_IDcxx . . $ `online-accounts-common/ipc.h:42:9`! "handlerId" |
| 43 | #define OAU_REQUEST_MATCH_KEYcxx . . $ `online-accounts-common/ipc.h:43:9`! "X-RequestHandler" |
| 44 | |
| 45 | namespace OnlineAccountsUicxx . . $ OnlineAccountsUi/ { |
| 46 | |
| 47 | class IpcPrivatecxx . . $ OnlineAccountsUi/IpcPrivate#; |
| 48 | class Ipccxx . . $ OnlineAccountsUi/Ipc#: public QObjectcxx . . $ QObject# |
| 49 | { |
| 50 | Q_OBJECTcxx . . $ OnlineAccountsUi/Ipc#staticMetaObject. |
| 51 | |
| 52 | public: |
| 53 | Ipccxx . . $ OnlineAccountsUi/Ipc#Ipc(749de1b6ae65bddd).(QObjectcxx . . $ QObject# *parent = 0); |
| 54 | ~cxx . . $ OnlineAccountsUi/Ipc#`~Ipc`(ced63f7c635d850d).Ipccxx . . $ OnlineAccountsUi/Ipc#(); |
| 55 | |
| 56 | void setChannelscxx . . $ OnlineAccountsUi/Ipc#setChannels(c7a06fe2f8c4cd06).(QIODevicecxx . . $ QIODevice# *readChannel, QIODevicecxx . . $ QIODevice# *writeChannel); |
| 57 | void writecxx . . $ OnlineAccountsUi/Ipc#write(45672f3c6961a244).(const QByteArraycxx . . $ QByteArray# &data); |
| 58 | |
| 59 | Q_SIGNALScxx . . $ `<external>/1208926524888476972/qobjectdefs.h:93:10`!: |
| 60 | void dataReadycxx . . $ OnlineAccountsUi/Ipc#dataReady(ce30c813b115780d).(QByteArraycxx . . $ QByteArray# &data); |
| 61 | |
| 62 | private: |
| 63 | IpcPrivatecxx . . $ OnlineAccountsUi/IpcPrivate# *d_ptrcxx . . $ OnlineAccountsUi/Ipc#d_ptr.; |
| 64 | Q_DECLARE_PRIVATEcxx . . $ OnlineAccountsUi/Ipc#d_func(f28ebcebeddc2912).(Ipc) |
| 65 | }; |
| 66 | |
| 67 | }; // namespace |
| 68 | |
| 69 | #endif // OAU_IPC_H |