示例#1
0
    MyResource(Wt::WObject *parent = 0)
	: Wt::WResource(parent)
    {
	suggestFileName("data.txt");
    }
示例#2
0
 SamplePdfResource()
     : WPdfImage(400, 300)
 {
     suggestFileName("line.pdf");
     paint();
 }
示例#3
0
 ReportResource(Wt::WObject *parent = 0)
     : Wt::WResource(parent)
 {
   suggestFileName("report.pdf");
 }