Added dirEvent signal for rest of chronoshare, cleaned code
diff --git a/filesystemwatcher/filesystemwatcher.h b/filesystemwatcher/filesystemwatcher.h
index f025769..aa1f3b8 100644
--- a/filesystemwatcher/filesystemwatcher.h
+++ b/filesystemwatcher/filesystemwatcher.h
@@ -2,14 +2,11 @@
 #define FILESYSTEMWATCHER_H
 
 #include <QtGui>
-#include <QSqlDatabase>
-#include <QSqlQuery>
-#include <QSqlResult>
-#include <QSqlError>
 #include <QDebug>
 #include <QHash>
 #include <QCryptographicHash>
-#include <QVector>
+
+#define DEBUG 1
 
 enum eEvent {
     ADDED = 0,
@@ -37,6 +34,10 @@
     // destructor
     ~FileSystemWatcher();
 
+signals:
+    // directory event signal
+    void dirEventSignal(std::vector<sEventInfo> dirChanges);
+
 private slots:
     // handle callback from watcher
     void watcherCallbackSlot(QString dirPath);
@@ -52,13 +53,13 @@
     QHash<QString, qint64> scanDirectory(QString dirPath);
 
     // reconcile directory, find changes
-    QVector<sEventInfo> reconcileDirectory(QHash<QString, qint64> fileList, QString dirPath);
+    std::vector<sEventInfo> reconcileDirectory(QHash<QString, qint64> fileList, QString dirPath);
 
     // calculate checksum
     QByteArray calcChecksum(QString absFilePath);
 
-    // print to GUI (DEBUG)
-    void printToGui(QVector<sEventInfo> dirChanges);
+    // print Changes (DEBUG)
+    void printChanges(std::vector<sEventInfo> dirChanges);
 
 private:
     Ui::FileSystemWatcher* m_ui; // user interface