summaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/localplayer.h')
-rw-r--r--src/localplayer.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/localplayer.h b/src/localplayer.h
index b008a739..41fc84a8 100644
--- a/src/localplayer.h
+++ b/src/localplayer.h
@@ -38,12 +38,6 @@ class Item;
class Map;
class OkDialog;
-class AwayListener : public gcn::ActionListener
-{
- public:
- void action(const gcn::ActionEvent &event);
-};
-
/**
* The local player character.
*/
@@ -178,15 +172,6 @@ class LocalPlayer : public Being
bool isPathSetByMouse() const
{ return mPathSetByMouse; }
- void changeAwayMode();
-
- bool getAwayMode()
- { return mAwayMode; }
-
- void setAway(const std::string &message);
-
- void afkRespond(ChatTab *tab, const std::string &nick);
-
void addMessageToQueue(const std::string &message,
int color = UserPalette::EXP_INFO);
@@ -239,11 +224,6 @@ class LocalPlayer : public Being
/** Queued messages*/
std::list<MessagePair> mMessages;
int mMessageTime;
- AwayListener *mAwayListener;
- OkDialog *mAwayDialog;
-
- int mAfkTime;
- bool mAwayMode;
};
extern LocalPlayer *player_node;