diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-03-17 15:29:28 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-03-17 15:29:28 +0100 |
commit | efc3ca52c338a6b8fca8c523dec86f2c9e84f1c0 (patch) | |
tree | 6d090e5b23ec06dd3f42931cc3995dc19e820d53 /common/synchronizer.h | |
parent | f4cba9977d46bd94b19586e31f1bea250f211c0c (diff) | |
download | sink-efc3ca52c338a6b8fca8c523dec86f2c9e84f1c0.tar.gz sink-efc3ca52c338a6b8fca8c523dec86f2c9e84f1c0.zip |
emitNotification function
Diffstat (limited to 'common/synchronizer.h')
-rw-r--r-- | common/synchronizer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/synchronizer.h b/common/synchronizer.h index 45ec9e7..28fe645 100644 --- a/common/synchronizer.h +++ b/common/synchronizer.h | |||
@@ -180,8 +180,11 @@ protected: | |||
180 | */ | 180 | */ |
181 | virtual void mergeIntoQueue(const Synchronizer::SyncRequest &request, QList<Synchronizer::SyncRequest> &queue); | 181 | virtual void mergeIntoQueue(const Synchronizer::SyncRequest &request, QList<Synchronizer::SyncRequest> &queue); |
182 | 182 | ||
183 | void emitNotification(Notification::NoticationType type, int code, const QString &message, const QByteArray &id = QByteArray{}); | ||
184 | |||
183 | protected: | 185 | protected: |
184 | Sink::Log::Context mLogCtx; | 186 | Sink::Log::Context mLogCtx; |
187 | |||
185 | private: | 188 | private: |
186 | void modifyIfChanged(Storage::EntityStore &store, const QByteArray &bufferType, const QByteArray &sinkId, const Sink::ApplicationDomain::ApplicationDomainType &entity); | 189 | void modifyIfChanged(Storage::EntityStore &store, const QByteArray &bufferType, const QByteArray &sinkId, const Sink::ApplicationDomain::ApplicationDomainType &entity); |
187 | KAsync::Job<void> processRequest(const SyncRequest &request); | 190 | KAsync::Job<void> processRequest(const SyncRequest &request); |