summaryrefslogtreecommitdiffstats
path: root/common/resource.h
diff options
context:
space:
mode:
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: