diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-03-22 01:44:36 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-03-22 01:44:36 +0300 |
commit | 2925b20acb9f70d032cd5981687642a770778c53 (patch) | |
tree | e9dd3bd137dd359b8a0845487520ac28f5e3bdb7 /src/listener.cpp | |
parent | ab0b6df9f69a736f79d2233508d8aa88b8e11800 (diff) | |
download | plus-2925b20acb9f70d032cd5981687642a770778c53.tar.gz plus-2925b20acb9f70d032cd5981687642a770778c53.tar.bz2 plus-2925b20acb9f70d032cd5981687642a770778c53.tar.xz plus-2925b20acb9f70d032cd5981687642a770778c53.zip |
Rename object event to depricatedevent because current implimentation very
bad and must be replaced with better implimentation.
Diffstat (limited to 'src/listener.cpp')
-rw-r--r-- | src/listener.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/listener.cpp b/src/listener.cpp index fd04c9f00..0ad7c2603 100644 --- a/src/listener.cpp +++ b/src/listener.cpp @@ -21,21 +21,19 @@ #include "listener.h" -#include "event.h" - #include "debug.h" Listener::~Listener() { - Event::remove(this); + DepricatedEvent::remove(this); } void Listener::listen(Channels channel) { - Event::bind(this, channel); + DepricatedEvent::bind(this, channel); } void Listener::ignore(Channels channel) { - Event::unbind(this, channel); + DepricatedEvent::unbind(this, channel); } |