Go to the documentation of this file.00001
00002
00003
00004
00005
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_