summaryrefslogtreecommitdiffstats
path: root/examples/dummyresource/resourcefactory.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2015-12-10 11:14:04 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2015-12-10 11:14:04 +0100
commit382150ca27b03b912b43ad07956231497d35cfe8 (patch)
treefa84c709446b18ae527fbcefc0cd4381544c9486 /examples/dummyresource/resourcefactory.cpp
parent49b1c5c3b342a84ec71e9b7dfd06a80b6d6e6c96 (diff)
downloadsink-382150ca27b03b912b43ad07956231497d35cfe8.tar.gz
sink-382150ca27b03b912b43ad07956231497d35cfe8.zip
A change-replay function
Diffstat (limited to 'examples/dummyresource/resourcefactory.cpp')
-rw-r--r--examples/dummyresource/resourcefactory.cpp6
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
282KAsync::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
282void DummyResource::removeFromDisk(const QByteArray &instanceIdentifier) 288void DummyResource::removeFromDisk(const QByteArray &instanceIdentifier)
283{ 289{
284 GenericResource::removeFromDisk(instanceIdentifier); 290 GenericResource::removeFromDisk(instanceIdentifier);