Moving delegate to poly.

This commit is contained in:
Ben Vanik
2014-12-20 08:49:11 -08:00
parent a0eebf8898
commit c1df273600
6 changed files with 31 additions and 61 deletions

View File

@@ -12,7 +12,7 @@
#include <functional>
#include <alloy/delegate.h>
#include <poly/delegate.h>
#include <xdb/module.h>
#include <xdb/protocol.h>
#include <xdb/thread.h>
@@ -27,15 +27,15 @@ class Cursor {
// TODO(benvanik): breakpoints/events
alloy::Delegate<void> end_of_stream;
poly::Delegate<void> end_of_stream;
std::vector<Module*> modules();
std::vector<Thread*> threads();
alloy::Delegate<Module*> module_loaded;
alloy::Delegate<Module*> module_unloaded;
alloy::Delegate<Thread*> thread_created;
alloy::Delegate<Thread*> thread_exited;
poly::Delegate<Module*> module_loaded;
poly::Delegate<Module*> module_unloaded;
poly::Delegate<Thread*> thread_created;
poly::Delegate<Thread*> thread_exited;
// TODO(benvanik): memory access