1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00
joplin/QtClient/JoplinQtClient/dispatcher.cpp
2017-01-05 18:59:01 +01:00

24 lines
460 B
C++
Executable File

#include "dispatcher.h"
using namespace jop;
Dispatcher::Dispatcher() {}
void Dispatcher::emitFolderCreated(const QString &folderId) {
emit folderCreated(folderId);
}
void Dispatcher::emitFolderUpdated(const QString &folderId) {
emit folderUpdated(folderId);
}
void Dispatcher::emitFolderDeleted(const QString &folderId) {
emit folderDeleted(folderId);
}
Dispatcher dispatcherInstance_;
Dispatcher& jop::dispatcher() {
return dispatcherInstance_;
}