Changeset View
Changeset View
Standalone View
Standalone View
plugins/sms/smsplugin.h
1 | /** | 1 | /** | ||
---|---|---|---|---|---|
2 | * Copyright 2013 Albert Vaca <albertvaka@gmail.com> | 2 | * Copyright 2013 Albert Vaca <albertvaka@gmail.com> | ||
3 | * Copyright 2018 Simon Redman <simon@ergotech.com> | ||||
3 | * | 4 | * | ||
4 | * This program is free software; you can redistribute it and/or | 5 | * This program is free software; you can redistribute it and/or | ||
5 | * modify it under the terms of the GNU General Public License as | 6 | * modify it under the terms of the GNU General Public License as | ||
6 | * published by the Free Software Foundation; either version 2 of | 7 | * published by the Free Software Foundation; either version 2 of | ||
7 | * the License or (at your option) version 3 or any later version | 8 | * the License or (at your option) version 3 or any later version | ||
8 | * accepted by the membership of KDE e.V. (or its successor approved | 9 | * accepted by the membership of KDE e.V. (or its successor approved | ||
9 | * by the membership of KDE e.V.), which shall act as a proxy | 10 | * by the membership of KDE e.V.), which shall act as a proxy | ||
10 | * defined in Section 14 of version 3 of the license. | 11 | * defined in Section 14 of version 3 of the license. | ||
▲ Show 20 Lines • Show All 107 Lines • ▼ Show 20 Line(s) | 115 | private: | |||
118 | */ | 119 | */ | ||
119 | void forwardToTelepathy(const ConversationMessage& message); | 120 | void forwardToTelepathy(const ConversationMessage& message); | ||
120 | 121 | | |||
121 | /** | 122 | /** | ||
122 | * Handle a packet which contains many messages, such as PACKET_TYPE_TELEPHONY_MESSAGE | 123 | * Handle a packet which contains many messages, such as PACKET_TYPE_TELEPHONY_MESSAGE | ||
123 | */ | 124 | */ | ||
124 | bool handleBatchMessages(const NetworkPacket& np); | 125 | bool handleBatchMessages(const NetworkPacket& np); | ||
125 | 126 | | |||
126 | | ||||
127 | QDBusInterface m_telepathyInterface; | 127 | QDBusInterface m_telepathyInterface; | ||
128 | ConversationsDbusInterface* m_conversationInterface; | 128 | ConversationsDbusInterface* m_conversationInterface; | ||
129 | 129 | | |||
130 | }; | 130 | }; | ||
131 | 131 | | |||
132 | #endif | 132 | #endif |