diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-05-18 18:49:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-05-18 18:49:27 +0300 |
commit | 25a143ac11baebc9ecaf5c2c05d4808f20d54e3c (patch) | |
tree | ab48fe5020a74aab2d3b6e73d0cf5b99c09307ac /src/listener.cpp | |
parent | c7a122c9d12d4ba6c08aed06291ebebf6bcdd1ed (diff) | |
download | mv-25a143ac11baebc9ecaf5c2c05d4808f20d54e3c.tar.gz mv-25a143ac11baebc9ecaf5c2c05d4808f20d54e3c.tar.bz2 mv-25a143ac11baebc9ecaf5c2c05d4808f20d54e3c.tar.xz mv-25a143ac11baebc9ecaf5c2c05d4808f20d54e3c.zip |
rename listender to depricatedlistener.
Diffstat (limited to 'src/listener.cpp')
-rw-r--r-- | src/listener.cpp | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/src/listener.cpp b/src/listener.cpp deleted file mode 100644 index 137ff66ec..000000000 --- a/src/listener.cpp +++ /dev/null @@ -1,39 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2010 The Mana Developers - * Copyright (C) 2011-2013 The ManaPlus Developers - * - * This file is part of The ManaPlus Client. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - -#include "listener.h" - -#include "debug.h" - -Listener::~Listener() -{ - DepricatedEvent::remove(this); -} - -void Listener::listen(Channels channel) -{ - DepricatedEvent::bind(this, channel); -} - -void Listener::ignore(Channels channel) -{ - DepricatedEvent::unbind(this, channel); -} |