Wt examples  4.0.0
HangmanGame.h
Go to the documentation of this file.
1 // This may look like C code, but it's really -*- C++ -*-
2 /*
3  * Copyright (C) 2011 Emweb bvba, Heverlee, Belgium
4  *
5  * See the LICENSE file for terms of use.
6  */
7 
8 #ifndef HANGMANGAME_H_
9 #define HANGMANGAME_H_
10 
11 #include <Wt/WContainerWidget.h>
12 
13 #include "Session.h"
14 
15 using namespace Wt;
16 
17 namespace Wt {
18  class WStackedWidget;
19  class WAnchor;
20 }
21 
22 class HangmanWidget;
23 class HighScoresWidget;
24 class Session;
25 
27 {
28 public:
29  HangmanGame();
30 
31  void handleInternalPath(const std::string &internalPath);
32 
33 private:
40 
42 
43  void onAuthEvent();
44  void showGame();
45  void showHighScores();
46 };
47 
48 #endif //HANGMANGAME_H_
Session session_
Definition: HangmanGame.h:41
WStackedWidget * mainStack_
Definition: HangmanGame.h:34
WAnchor * backToGameAnchor_
Definition: HangmanGame.h:38
HangmanWidget * game_
Definition: HangmanGame.h:35
HighScoresWidget * scores_
Definition: HangmanGame.h:36
WContainerWidget * links_
Definition: HangmanGame.h:37
WAnchor * scoresAnchor_
Definition: HangmanGame.h:39

Generated on Mon Sep 4 2017 for the C++ Web Toolkit (Wt) by doxygen 1.8.11