Older/WebApplication/NavigationBar.h
amass 6ab3e2b22b
All checks were successful
Deploy / Build (push) Successful in 7m25s
improve wt code.
2024-12-21 23:08:38 +08:00

22 lines
433 B
C++

#ifndef __NAVIGATIONBAR_H__
#define __NAVIGATIONBAR_H__
#include <Wt/WTemplate.h>
class LoginPage;
class NavigationBar : public Wt::WTemplate {
public:
NavigationBar();
~NavigationBar();
LoginPage *addLoginItem(std::unique_ptr<LoginPage> item);
std::unique_ptr<LoginPage> removeLoginItem();
protected:
void createLoginButtons();
private:
Wt::WTemplate *m_menu = nullptr;
};
#endif // __NAVIGATIONBAR_H__