Wt examples
3.3.0
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
build
buildd
witty-3.3.0
examples
wt-homepage
JWtHome.h
Go to the documentation of this file.
1
// This may look like C code, but it's really -*- C++ -*-
2
/*
3
* Copyright (C) 2008 Emweb bvba, Kessel-Lo, Belgium.
4
*
5
* See the LICENSE file for terms of use.
6
*/
7
#ifndef JWT_HOME_H_
8
#define JWT_HOME_H_
9
10
#include <Wt/WApplication>
11
12
#include "
Home.h
"
13
14
using namespace
Wt;
15
16
class
JWtHome
:
public
Home
17
{
18
public
:
19
JWtHome
(
const
WEnvironment
& env);
20
21
protected
:
22
virtual
WWidget
*examples();
23
virtual
WWidget
*createQuoteForm();
24
virtual
WWidget
*sourceViewer(
const
std::string& deployPath);
25
virtual
std::string
filePrefix
()
const
{
return
"jwt-"
; }
26
27
WWidget
*wrapView(
WWidget
*(
JWtHome
::*createFunction)());
28
29
private
:
30
WWidget
*example(
const
char
*textKey,
const
std::string& sourceDir);
31
32
WWidget
*helloWorldExample();
33
WWidget
*chartExample();
34
WWidget
*composerExample();
35
WWidget
*treeviewExample();
36
WWidget
*chatExample();
37
WWidget
*figtreeExample();
38
WWidget
*widgetGalleryExample();
39
40
std::string
jwtExamplePath_
;
41
};
42
43
WApplication
*
createJWtHomeApplication
(
const
WEnvironment
& env);
44
45
#endif // JWT_HOME_H_
Generated on Fri May 31 2013 for
the C++ Web Toolkit (Wt)
by
1.8.3.1