Wt examples
3.7.1
public-git
wt
examples
hangman
HighScoresWidget.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 bv, Herent, Belgium
4
*
5
* See the LICENSE file for terms of use.
6
*/
7
8
#ifndef HIGH_SCORES_WIDGET_H_
9
#define HIGH_SCORES_WIDGET_H_
10
11
#include <Wt/WContainerWidget>
12
13
class
Session
;
14
15
class
HighScoresWidget
:
public
Wt::WContainerWidget
16
{
17
public
:
18
HighScoresWidget
(
Session
*session,
Wt::WContainerWidget
*
parent
= 0);
19
void
update
();
20
21
private
:
22
Session
*
session_
;
23
};
24
25
#endif //HIGH_SCORES_WIDGET_H_
HighScoresWidget::HighScoresWidget
HighScoresWidget(Session *session, Wt::WContainerWidget *parent=0)
Definition:
HighScoresWidget.C:18
HighScoresWidget::session_
Session * session_
Definition:
HighScoresWidget.h:22
Wt::WWidget::parent
WWidget * parent() const
HighScoresWidget::update
void update()
Definition:
HighScoresWidget.C:26
Session
Definition:
Session.h:23
HighScoresWidget
Definition:
HighScoresWidget.h:15
Wt::WContainerWidget
Generated on Tue Dec 15 2020 for
the C++ Web Toolkit (Wt)
by
1.8.13