summaryrefslogtreecommitdiff
path: root/src/gui/npcstringdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/npcstringdialog.h')
-rw-r--r--src/gui/npcstringdialog.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/gui/npcstringdialog.h b/src/gui/npcstringdialog.h
index 0c552baa..94cd59b2 100644
--- a/src/gui/npcstringdialog.h
+++ b/src/gui/npcstringdialog.h
@@ -26,9 +26,9 @@
#include <guichan/actionlistener.hpp>
+#ifdef EATHENA_SUPPORT
class Network;
-
-class Network;
+#endif
/**
* The npc integer input dialog.
@@ -43,7 +43,11 @@ class NpcStringDialog : public Window, public gcn::ActionListener
*
* @see Window::Window
*/
+#ifdef TMWSERV_SUPPORT
+ NpcStringDialog();
+#else
NpcStringDialog(Network *network);
+#endif
/**
* Called when receiving actions from the widgets.
@@ -75,7 +79,9 @@ class NpcStringDialog : public Window, public gcn::ActionListener
void setVisible(bool visible);
private:
+#ifdef EATHENA_SUPPORT
Network *mNetwork;
+#endif
gcn::TextField *mValueField;
std::string mDefault;
};