Wt examples 3.1.10
/build/buildd/witty-3.1.10/examples/javascript/JavascriptExample.h
Go to the documentation of this file.
00001 // This may look like C code, but it's really -*- C++ -*-
00002 /*
00003  * Copyright (C) 2008 Emweb bvba, Kessel-Lo, Belgium.
00004  *
00005  * See the LICENSE file for terms of use.
00006  */
00007 #ifndef JAVASCRIPTEXAMPLE_H_
00008 #define JAVASCRIPTEXAMPLE_H_
00009 
00010 #include <Wt/WApplication>
00011 
00012 using namespace Wt;
00013 
00018 
00019 class Popup;
00020 
00024 class JavascriptExample : public WApplication
00025 {
00026 public:
00029   JavascriptExample(const WEnvironment& env);
00030 
00031 private:
00034   void confirmed();
00035 
00038   void setAmount(std::string amount);
00039 
00042   Popup *promptAmount_;
00043 
00046   Popup *confirmPay_;
00047 
00050   WText *currentAmount_;
00051 };
00052 
00055 #endif // JAVASCRIPTEXAMPLE_H_

Generated on Wed Jul 27 2011 for the C++ Web Toolkit (Wt) by doxygen 1.7.4