diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-01-23 17:29:15 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-01-23 17:29:15 +0200 |
commit | c914cbb0a081b30b28271618bbaa8e987a108ae7 (patch) | |
tree | e77ed702c3efe15dce220a4410ac10db5f1bf25b /src/guiPauseMenu.h | |
parent | c0a1bcf4735661e69ba0938b322fe37daf510edf (diff) | |
download | minetest-c914cbb0a081b30b28271618bbaa8e987a108ae7.tar.gz minetest-c914cbb0a081b30b28271618bbaa8e987a108ae7.tar.bz2 minetest-c914cbb0a081b30b28271618bbaa8e987a108ae7.zip |
OMG! Main Menu!
Diffstat (limited to 'src/guiPauseMenu.h')
-rw-r--r-- | src/guiPauseMenu.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/guiPauseMenu.h b/src/guiPauseMenu.h index 187d20edb..22cb65b2c 100644 --- a/src/guiPauseMenu.h +++ b/src/guiPauseMenu.h @@ -23,13 +23,20 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "common_irrlicht.h"
#include "modalMenu.h"
+class IGameCallback
+{
+public:
+ virtual void exitToOS() = 0;
+ virtual void disconnect() = 0;
+};
+
class GUIPauseMenu : public GUIModalMenu
{
public:
GUIPauseMenu(gui::IGUIEnvironment* env,
gui::IGUIElement* parent, s32 id,
- IrrlichtDevice *dev,
- int *active_menu_count);
+ IGameCallback *gamecallback,
+ IMenuManager *menumgr);
~GUIPauseMenu();
void removeChildren();
@@ -43,7 +50,7 @@ public: bool OnEvent(const SEvent& event);
private:
- IrrlichtDevice *m_dev;
+ IGameCallback *m_gamecallback;
};
#endif
|