Wt examples  3.3.0
HangmanWidget.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 HANGMAN_WIDGET_H_
9 #define HANGMAN_WIDGET_H_
10 
11 #include <vector>
12 
13 #include <Wt/WContainerWidget>
14 
15 #include "Dictionary.h"
16 
17 class Session;
18 class WordWidget;
19 class ImagesWidget;
20 class LettersWidget;
21 
23 {
24 public:
25  HangmanWidget(const std::string &name, Wt::WContainerWidget *parent = 0);
26 
28 
29 private:
31 
35 
39 
41 
42  std::string name_;
44 
46 
47  void registerGuess(char c);
48 
49  void newGame();
50 };
51 
52 #endif //HANGMAN_WIDGET_H_

Generated on Fri May 31 2013 for the C++ Web Toolkit (Wt) by doxygen 1.8.3.1