22 lines
433 B
C++
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__
|