Adding Dispatcher to gui (callback are not yet connected)
diff --git a/gui/chronosharegui.h b/gui/chronosharegui.h
index 098a48e..bf42515 100644
--- a/gui/chronosharegui.h
+++ b/gui/chronosharegui.h
@@ -35,6 +35,7 @@
#include <QApplication>
#include "fs-watcher.h"
+#include "dispatcher.h"
class ChronoShareGui : public QDialog
{
@@ -101,7 +102,8 @@
QString m_username; // username
QString m_sharedFolderName; // shared folder name
- FsWatcher* m_watcher;
+ FsWatcher *m_watcher;
+ Dispatcher *m_dispatcher;
QLabel* labelUsername;
QPushButton* button;