1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-01-11 18:24:43 +02:00
joplin/QtClient/JoplinQtClient/dispatcher.cpp

24 lines
460 B
C++
Raw Normal View History

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_;
}