contentstorage/caclient/stub/src/canotifiers.cpp
changeset 66 32469d7d46ff
parent 60 f62f87b200ec
child 73 4bc7b118b3df
--- a/contentstorage/caclient/stub/src/canotifiers.cpp	Fri Apr 16 15:16:09 2010 +0300
+++ b/contentstorage/caclient/stub/src/canotifiers.cpp	Mon May 03 12:48:45 2010 +0300
@@ -55,6 +55,20 @@
     }
 }
 
+void CaNotifiers::NotifyTouched(int id)
+{
+    for (NotifierHash::const_iterator i = mNotifiers.constBegin();
+            i != mNotifiers.constEnd();
+            ++i) {
+        const CaNotifierFilter *filter = i.key().first;
+        if (filter->getIds().isEmpty() || filter->getIds().contains(id)) {
+            if (i.key().second == CaNotifierPrivate::EntryTouchedNotifierType) {
+                i.value()->entryTouched(id);
+            }
+        }
+    }
+}
+
 void CaNotifiers::Notify(const CaEntry &targetEntry,
                          ChangeType changeType,
                          QList<int> &parentIds)