summaryrefslogtreecommitdiffstats
path: root/common/resource.h
diff options
context:
space:
mode:
authorAaron Seigo <aseigo@kde.org>2014-12-16 22:40:44 +0100
committerAaron Seigo <aseigo@kde.org>2014-12-16 22:40:44 +0100
commit77944384d24b5005d6b8648572a31a3ae84dd946 (patch)
tree8726831773b4182cb6177d6c72a723e08a6c15aa /common/resource.h
parent66b21fd2e3c53e4a820e3343b192be7b043da110 (diff)
downloadsink-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.h8
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
23namespace Akonadi2 25namespace Akonadi2
24{ 26{
25 27
26class Resource 28class AKONADI2COMMON_EXPORT Resource
27{ 29{
28public: 30public:
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
35private: 39private: