Moving out FileState operations into a separate class/database
Change-Id: I9314ef92632253aaa843dee98933795f2d8e076f
diff --git a/src/dispatcher.h b/src/dispatcher.h
index 100123f..902ec62 100644
--- a/src/dispatcher.h
+++ b/src/dispatcher.h
@@ -77,9 +77,6 @@
HashPtr
SyncRoot() { return m_core->root(); }
- FileState *
- GetFileState () { return m_actionLog.get (); }
-
private:
void
Did_LocalFile_AddOrModify_Execute (boost::filesystem::path relativeFilepath); // cannot be const & for Execute event!!! otherwise there will be segfault
@@ -164,6 +161,7 @@
SyncCore *m_core;
SyncLogPtr m_syncLog;
ActionLogPtr m_actionLog;
+ FileStatePtr m_fileState;
boost::filesystem::path m_rootDir;
Executor m_executor;