2016-12-31 11:48:18 +02:00
|
|
|
#include "dispatcher.h"
|
|
|
|
|
|
|
|
using namespace jop;
|
|
|
|
|
2017-01-05 19:59:01 +02:00
|
|
|
Dispatcher::Dispatcher() {}
|
2016-12-31 11:48:18 +02:00
|
|
|
|
2017-01-05 19:59:01 +02:00
|
|
|
void Dispatcher::emitFolderCreated(const QString &folderId) {
|
|
|
|
emit folderCreated(folderId);
|
2016-12-31 11:48:18 +02:00
|
|
|
}
|
|
|
|
|
2017-01-05 19:59:01 +02:00
|
|
|
void Dispatcher::emitFolderUpdated(const QString &folderId) {
|
|
|
|
emit folderUpdated(folderId);
|
|
|
|
}
|
2016-12-31 11:48:18 +02:00
|
|
|
|
2017-01-05 19:59:01 +02:00
|
|
|
void Dispatcher::emitFolderDeleted(const QString &folderId) {
|
|
|
|
emit folderDeleted(folderId);
|
2016-12-31 11:48:18 +02:00
|
|
|
}
|
|
|
|
|
2017-01-05 19:59:01 +02:00
|
|
|
Dispatcher dispatcherInstance_;
|
|
|
|
|
|
|
|
Dispatcher& jop::dispatcher() {
|
|
|
|
return dispatcherInstance_;
|
|
|
|
}
|