diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-03-27 21:13:02 +0100 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-03-27 21:13:02 +0100 |
commit | 60f10c242fc4f99b0ab0f8d8c6d4b4acde0022cd (patch) | |
tree | 2a3f33bb7af2bf88998a5337e1a739ea12712519 /src/gui/npc_text.h | |
parent | 712ca58c011123505c807266dcc8d9d84ca1aa44 (diff) | |
download | mana-client-60f10c242fc4f99b0ab0f8d8c6d4b4acde0022cd.tar.gz mana-client-60f10c242fc4f99b0ab0f8d8c6d4b4acde0022cd.tar.bz2 mana-client-60f10c242fc4f99b0ab0f8d8c6d4b4acde0022cd.tar.xz mana-client-60f10c242fc4f99b0ab0f8d8c6d4b4acde0022cd.zip |
Clean up of most of the Network pointers
Now that messages can be sent without requiring a pointer to the
Network instance, a lot of cleanup was possible.
Diffstat (limited to 'src/gui/npc_text.h')
-rw-r--r-- | src/gui/npc_text.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/gui/npc_text.h b/src/gui/npc_text.h index 16c1d5fd..231ac684 100644 --- a/src/gui/npc_text.h +++ b/src/gui/npc_text.h @@ -30,9 +30,6 @@ #include "../npc.h" -#ifdef EATHENA_SUPPORT -class Network; -#endif class TextBox; /** @@ -48,11 +45,7 @@ class NpcTextDialog : public Window, public gcn::ActionListener * * @see Window::Window */ -#ifdef TMWSERV_SUPPORT NpcTextDialog(); -#else - NpcTextDialog(Network *network); -#endif /** * Called when receiving actions from the widgets. @@ -101,9 +94,6 @@ class NpcTextDialog : public Window, public gcn::ActionListener void widgetResized(const gcn::Event &event); private: -#ifdef EATHENA_SUPPORT - Network *mNetwork; -#endif gcn::ScrollArea *mScrollArea; TextBox *mTextBox; gcn::Button *mButton; |