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