1#ifndef STORAGECHANGENOTIFIERPLUGIN_H
2#define STORAGECHANGENOTIFIERPLUGIN_H
23 iStorageName(aStorageName) {}
35 virtual QString
name()
const = 0;
61 virtual void disable(
bool disableAfterNextChange =
false) = 0;
Implement this class to notify about changes in a specific storage - contacts/calendar/sms,...
Definition: StorageChangeNotifierPlugin.h:15
virtual ~StorageChangeNotifierPlugin()
destructor
Definition: StorageChangeNotifierPlugin.h:27
virtual void changesReceived()=0
virtual bool hasChanges() const =0
Check if this storage has changes since the last time it was asked for the same.
virtual void disable(bool disableAfterNextChange=false)=0
Disable listening to storage changes.
virtual QString name() const =0
the name should be a well-known name which buteo sync-fw knows about as a storage that could be synce...
StorageChangeNotifierPlugin(const QString &aStorageName)
constructor
Definition: StorageChangeNotifierPlugin.h:22
void storageChange()
emit this signal when there's a change in this storage. It's upto the plug-in when and how frequently...
Definition: moc_StorageChangeNotifierPlugin.cpp:130
virtual void enable()=0
Enable listening to storage changes.