18 lines
317 B
C
18 lines
317 B
C
|
#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__
|