summaryrefslogtreecommitdiff
path: root/src/client.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-23 21:49:42 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-24 21:08:16 +0300
commite8a4474319aca4a32869fa1ebb8b5ebbd98237f6 (patch)
tree889a347ac3fb3998566fe07d2c170ad5748aa1f3 /src/client.h
parent1a59946dd91a9de55f114413a520bf36204222ff (diff)
downloadmv-e8a4474319aca4a32869fa1ebb8b5ebbd98237f6.tar.gz
mv-e8a4474319aca4a32869fa1ebb8b5ebbd98237f6.tar.bz2
mv-e8a4474319aca4a32869fa1ebb8b5ebbd98237f6.tar.xz
mv-e8a4474319aca4a32869fa1ebb8b5ebbd98237f6.zip
save Client object into global variable.
Diffstat (limited to 'src/client.h')
-rw-r--r--src/client.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/client.h b/src/client.h
index 938170610..a4d7a288c 100644
--- a/src/client.h
+++ b/src/client.h
@@ -317,6 +317,10 @@ public:
static void applyKeyRepeat();
+#ifdef USE_SDL2
+ void handleSDL2WindowEvent(const SDL_Event &event);
+#endif
+
void optionChanged(const std::string &name) override;
void action(const gcn::ActionEvent &event) override;
@@ -443,4 +447,6 @@ private:
bool mLogInput;
};
+extern Client *client;
+
#endif // CLIENT_H