Added 'directory.watch.added'.

This commit is contained in:
rakshasa
2012-03-29 23:04:17 +09:00
parent 6141a5656f
commit 9aa54d2344
3 changed files with 38 additions and 2 deletions
+9 -2
View File
@@ -68,6 +68,10 @@ namespace rpc {
class object_storage;
}
namespace torrent {
class directory_events;
}
class Control {
public:
Control();
@@ -99,6 +103,8 @@ public:
rpc::CommandScheduler* command_scheduler() { return m_commandScheduler; }
rpc::object_storage* object_storage() { return m_objectStorage; }
torrent::directory_events* directory_events() { return m_directory_events; }
uint64_t tick() const { return m_tick; }
void inc_tick() { m_tick++; }
@@ -118,8 +124,9 @@ private:
input::Manager* m_input;
input::InputEvent* m_inputStdin;
rpc::CommandScheduler* m_commandScheduler;
rpc::object_storage* m_objectStorage;
rpc::CommandScheduler* m_commandScheduler;
rpc::object_storage* m_objectStorage;
torrent::directory_events* m_directory_events;
uint64_t m_tick;