⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Wt
All Projects
Wt
Overview
Activity
Roadmap
Issues
Wiki
Forums
Download (546 Bytes)
Bug #818
» test1.C
Kurt Roeckx
, 05/19/2011 09:25 PM
#include
<Wt/WApplication>
#include
<Wt/WText>
#include
<Wt/WImage>
#include
<Wt/WAnchor>
#include
<Wt/WContainerWidget>
using
namespace
Wt
;
class
Test
:
public
WApplication
{
public:
Test
(
const
WEnvironment
&
env
);
};
Test
::
Test
(
const
WEnvironment
&
env
)
:
WApplication
(
env
)
{
WAnchor
*
a
=
new
WAnchor
(
root
());
a
->
setRefInternalPath
(
"/foo"
);
a
->
setText
(
"foo"
);
}
WApplication
*
createApplication
(
const
WEnvironment
&
env
)
{
return
new
Test
(
env
);
}
int
main
(
int
argc
,
char
*
argv
[])
{
return
WRun
(
argc
,
argv
,
&
createApplication
);
}
« Previous
1
2
Next »
(1-1/2)
Loading...