diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-08-13 01:27:21 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-08-13 01:27:21 +0200 |
commit | b6d5d206de4d02149c6530236154283bf834087a (patch) | |
tree | 0d57764b674df3ffee1df3f3e9fb1690ae06bbdc /tests/genericresourcetest.cpp | |
parent | 7c9ae062101b5dc8f963c70fb753f8346a9b5c48 (diff) | |
download | sink-b6d5d206de4d02149c6530236154283bf834087a.tar.gz sink-b6d5d206de4d02149c6530236154283bf834087a.zip |
Untangled the include dependencies a bit.
We no longer depend on clientapi.h from everywhere.
Diffstat (limited to 'tests/genericresourcetest.cpp')
-rw-r--r-- | tests/genericresourcetest.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/genericresourcetest.cpp b/tests/genericresourcetest.cpp index b6f629a..0faa484 100644 --- a/tests/genericresourcetest.cpp +++ b/tests/genericresourcetest.cpp | |||
@@ -10,6 +10,7 @@ | |||
10 | #include "entitybuffer.h" | 10 | #include "entitybuffer.h" |
11 | #include "pipeline.h" | 11 | #include "pipeline.h" |
12 | #include "genericresource.h" | 12 | #include "genericresource.h" |
13 | #include "definitions.h" | ||
13 | 14 | ||
14 | class TestResource : public Akonadi2::GenericResource | 15 | class TestResource : public Akonadi2::GenericResource |
15 | { | 16 | { |
@@ -28,7 +29,7 @@ public: | |||
28 | 29 | ||
29 | static void removeFromDisk(const QString &name) | 30 | static void removeFromDisk(const QString &name) |
30 | { | 31 | { |
31 | Akonadi2::Storage store(Akonadi2::Store::storageLocation(), name, Akonadi2::Storage::ReadWrite); | 32 | Akonadi2::Storage store(Akonadi2::storageLocation(), name, Akonadi2::Storage::ReadWrite); |
32 | store.removeFromDisk(); | 33 | store.removeFromDisk(); |
33 | } | 34 | } |
34 | 35 | ||