diff options
-rw-r--r-- | engine/include/core/signal.hpp | 3 | ||||
-rw-r--r-- | engine/signal.cpp | 13 |
2 files changed, 0 insertions, 16 deletions
diff --git a/engine/include/core/signal.hpp b/engine/include/core/signal.hpp index 9c38d8b..8d7aeef 100644 --- a/engine/include/core/signal.hpp +++ b/engine/include/core/signal.hpp @@ -39,9 +39,6 @@ namespace flat::core const std::string& id = "", void * data = 0, priority_t prior = priority_t::none); - - /* Alias to flat::core::channel::emit() */ - bool emit(const std::string& channel) const; }; /* Listener class */ diff --git a/engine/signal.cpp b/engine/signal.cpp index 512b456..649164a 100644 --- a/engine/signal.cpp +++ b/engine/signal.cpp @@ -175,19 +175,6 @@ signal::signal(object *sender, { } -bool signal::emit(const std::string& chan) const -{ - channel::ptr c = channel::find(chan); - - if (!c) - return false; - - /* Finally emit in channel */ - c->emit(*this); - - return true; -} - /* listener_s class */ |