diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-12-10 11:14:04 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-12-10 11:14:04 +0100 |
commit | 382150ca27b03b912b43ad07956231497d35cfe8 (patch) | |
tree | fa84c709446b18ae527fbcefc0cd4381544c9486 /examples/dummyresource/resourcefactory.cpp | |
parent | 49b1c5c3b342a84ec71e9b7dfd06a80b6d6e6c96 (diff) | |
download | sink-382150ca27b03b912b43ad07956231497d35cfe8.tar.gz sink-382150ca27b03b912b43ad07956231497d35cfe8.zip |
A change-replay function
Diffstat (limited to 'examples/dummyresource/resourcefactory.cpp')
-rw-r--r-- | examples/dummyresource/resourcefactory.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/dummyresource/resourcefactory.cpp b/examples/dummyresource/resourcefactory.cpp index 91a1229..ddae80e 100644 --- a/examples/dummyresource/resourcefactory.cpp +++ b/examples/dummyresource/resourcefactory.cpp | |||
@@ -279,6 +279,12 @@ KAsync::Job<void> DummyResource::synchronizeWithSource() | |||
279 | }); | 279 | }); |
280 | } | 280 | } |
281 | 281 | ||
282 | KAsync::Job<void> DummyResource::replay(const QByteArray &type, const QByteArray &key, const QByteArray &value) | ||
283 | { | ||
284 | Trace() << "Replaying " << key; | ||
285 | return KAsync::null<void>(); | ||
286 | } | ||
287 | |||
282 | void DummyResource::removeFromDisk(const QByteArray &instanceIdentifier) | 288 | void DummyResource::removeFromDisk(const QByteArray &instanceIdentifier) |
283 | { | 289 | { |
284 | GenericResource::removeFromDisk(instanceIdentifier); | 290 | GenericResource::removeFromDisk(instanceIdentifier); |