diff options
author | Aaron Seigo <aseigo@kde.org> | 2014-12-17 08:27:31 +0100 |
---|---|---|
committer | Aaron Seigo <aseigo@kde.org> | 2014-12-17 08:27:31 +0100 |
commit | 1c7e8fd482bb67a5487449948488bd286a3504c1 (patch) | |
tree | 38789d22037a0b2ed7550b60fd2280fa522c086d /common/resource.h | |
parent | 7265d88245767960f1b551bb57f8f84942b898d2 (diff) | |
download | sink-1c7e8fd482bb67a5487449948488bd286a3504c1.tar.gz sink-1c7e8fd482bb67a5487449948488bd286a3504c1.zip |
a basically-working Pipeline implementation
still a skeleton rather than a full body with flesh and blood, but
it is getting there!
Diffstat (limited to 'common/resource.h')
-rw-r--r-- | common/resource.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/common/resource.h b/common/resource.h index 53c0bc1..0f65e1f 100644 --- a/common/resource.h +++ b/common/resource.h | |||
@@ -18,8 +18,8 @@ | |||
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> | ||
22 | #include <akonadi2common_export.h> | 21 | #include <akonadi2common_export.h> |
22 | #include <clientapi.h> | ||
23 | #include <pipeline.h> | 23 | #include <pipeline.h> |
24 | 24 | ||
25 | namespace Akonadi2 | 25 | namespace Akonadi2 |
@@ -32,9 +32,8 @@ public: | |||
32 | Resource(); | 32 | Resource(); |
33 | virtual ~Resource(); | 33 | virtual ~Resource(); |
34 | 34 | ||
35 | //TODO: this will need to be async | 35 | virtual void processCommand(int commandId, const QByteArray &data, uint size, Pipeline *pipeline); |
36 | virtual void processCommand(uint messageId, int commandId, const QByteArray &data, uint size, Pipeline *pipeline); | 36 | virtual void synchronizeWithSource(Pipeline *pipeline); |
37 | virtual void synchronizeWithSource(); | ||
38 | 37 | ||
39 | private: | 38 | private: |
40 | class Private; | 39 | class Private; |