From 25a143ac11baebc9ecaf5c2c05d4808f20d54e3c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 18 May 2013 18:49:27 +0300 Subject: rename listender to depricatedlistener. --- src/depricatedevent.h | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'src/depricatedevent.h') diff --git a/src/depricatedevent.h b/src/depricatedevent.h index c142ec0b1..1c31cea57 100644 --- a/src/depricatedevent.h +++ b/src/depricatedevent.h @@ -39,12 +39,12 @@ enum DepricatedEvents EVENT_UPDATESTAT }; -class Listener; +class DepricatedListener; class VariableData; typedef std::map VariableMap; -typedef std::set ListenerSet; -typedef std::map ListenMap; +typedef std::set DepricatedListenerSet; +typedef std::map DepricatedListenMap; class DepricatedEvent final { @@ -84,17 +84,19 @@ class DepricatedEvent final const DepricatedEvent &event); // Removes a listener from all channels - static void remove(Listener *const listener); + static void remove(DepricatedListener *const listener); // Adds or removes a listener to a channel. - static void bind(Listener *const listener, const Channels channel); + static void bind(DepricatedListener *const listener, + const Channels channel); - static void unbind(Listener *const listener, const Channels channel); + static void unbind(DepricatedListener *const listener, + const Channels channel); private: DepricatedEvents mDepricatedEventName; - static ListenMap mBindings; + static DepricatedListenMap mBindings; VariableMap mData; }; -- cgit v1.2.3-60-g2f50