diff options
author | Jared Adams <jaxad0127@gmail.com> | 2010-04-12 14:46:06 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2010-04-12 15:15:37 -0600 |
commit | 612c842f32fec68ece4244ac672a1b889cf2eb18 (patch) | |
tree | 8682f225a4681e281505bd0f4c501be701228a9e /src/net/generalhandler.h | |
parent | f30f3e6a51fc20bded8a3a04cd3a0f328a064469 (diff) | |
download | mana-612c842f32fec68ece4244ac672a1b889cf2eb18.tar.gz mana-612c842f32fec68ece4244ac672a1b889cf2eb18.tar.bz2 mana-612c842f32fec68ece4244ac672a1b889cf2eb18.tar.xz mana-612c842f32fec68ece4244ac672a1b889cf2eb18.zip |
Add support for map-server switching under eAthena
Also do some cleanup that's been needed for a while.
Reviewed-by: Bertram
Diffstat (limited to 'src/net/generalhandler.h')
-rw-r--r-- | src/net/generalhandler.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/net/generalhandler.h b/src/net/generalhandler.h index d4b762f2..222b430a 100644 --- a/src/net/generalhandler.h +++ b/src/net/generalhandler.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#include "client.h" #include "main.h" #ifndef GENERALHANDLER_H @@ -29,6 +30,8 @@ namespace Net { class GeneralHandler { public: + virtual ~GeneralHandler() {} + virtual void load() = 0; virtual void reload() = 0; @@ -43,7 +46,7 @@ class GeneralHandler virtual void clearHandlers() = 0; - virtual ~GeneralHandler() {} + virtual void stateChanged(State oldState, State newState) = 0; }; } // namespace Net |