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

32 lines
510 B
C
Raw Normal View History

2016-12-31 10:48:18 +01:00
#ifndef DISPATCHER_H
#define DISPATCHER_H
2017-01-05 18:59:01 +01:00
#include <stable.h>
2016-12-31 10:48:18 +01:00
namespace jop {
class Dispatcher : public QObject {
Q_OBJECT
public:
Dispatcher();
2017-01-05 18:59:01 +01:00
void emitFolderCreated(const QString& folderId);
void emitFolderUpdated(const QString& folderId);
void emitFolderDeleted(const QString& folderId);
2016-12-31 10:48:18 +01:00
signals:
2017-01-05 18:59:01 +01:00
void folderCreated(const QString& folderId);
void folderUpdated(const QString& folderId);
void folderDeleted(const QString& folderId);
2016-12-31 10:48:18 +01:00
};
Dispatcher& dispatcher();
}
#endif // DISPATCHER_H