1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-07-03 23:50:33 +02:00
Files
joplin/QtClient/JoplinQtClient/dispatcher.cpp

24 lines
460 B
C++
Raw Normal View History

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