diff options
author | Aaron Seigo <aseigo@kde.org> | 2014-12-16 22:40:44 +0100 |
---|---|---|
committer | Aaron Seigo <aseigo@kde.org> | 2014-12-16 22:40:44 +0100 |
commit | 77944384d24b5005d6b8648572a31a3ae84dd946 (patch) | |
tree | 8726831773b4182cb6177d6c72a723e08a6c15aa /common/resource.h | |
parent | 66b21fd2e3c53e4a820e3343b192be7b043da110 (diff) | |
download | sink-77944384d24b5005d6b8648572a31a3ae84dd946.tar.gz sink-77944384d24b5005d6b8648572a31a3ae84dd946.zip |
add pipelines (as a sketch only), message ids and message responses
Diffstat (limited to 'common/resource.h')
-rw-r--r-- | common/resource.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/common/resource.h b/common/resource.h index 2ecff03..53c0bc1 100644 --- a/common/resource.h +++ b/common/resource.h | |||
@@ -18,18 +18,22 @@ | |||
18 | * License along with this library. If not, see <http://www.gnu.org/licenses/>. | 18 | * License along with this library. If not, see <http://www.gnu.org/licenses/>. |
19 | */ | 19 | */ |
20 | 20 | ||
21 | #include "clientapi.h" | 21 | #include <clientapi.h> |
22 | #include <akonadi2common_export.h> | ||
23 | #include <pipeline.h> | ||
22 | 24 | ||
23 | namespace Akonadi2 | 25 | namespace Akonadi2 |
24 | { | 26 | { |
25 | 27 | ||
26 | class Resource | 28 | class AKONADI2COMMON_EXPORT Resource |
27 | { | 29 | { |
28 | public: | 30 | public: |
29 | //TODO: configuration | 31 | //TODO: configuration |
30 | Resource(); | 32 | Resource(); |
31 | virtual ~Resource(); | 33 | virtual ~Resource(); |
32 | 34 | ||
35 | //TODO: this will need to be async | ||
36 | virtual void processCommand(uint messageId, int commandId, const QByteArray &data, uint size, Pipeline *pipeline); | ||
33 | virtual void synchronizeWithSource(); | 37 | virtual void synchronizeWithSource(); |
34 | 38 | ||
35 | private: | 39 | private: |