Older/WebApplication/Hello.h

18 lines
317 B
C
Raw Normal View History

2024-10-30 23:59:59 +08:00
#ifndef __HELLO_H__
#define __HELLO_H__
#include <Wt/WApplication.h>
class Hello : public Wt::WApplication {
public:
Hello(const Wt::WEnvironment &env, bool embedded);
protected:
void greet();
private:
Wt::WLineEdit *m_nameEdit = nullptr;
Wt::WText *m_greeting = nullptr;
};
#endif // __HELLO_H__