#ifndef UI_SETTINGS_USERS_HPP #define UI_SETTINGS_USERS_HPP #include #include #include #include "common/SessionData.hpp" namespace UserInterface { namespace Settings { class Users : public Wt::WContainerWidget { public: Users(SessionData& sessioNData, Wt::WContainerWidget *parent = 0); void refresh(); private: void handleUserFormCompleted(bool changed); void handleDelUser(Wt::WString loginNameIdentity, std::string id); void handleCreateUser(std::string id); // set the id in order to edit the user SessionData& _sessionData; Wt::WStackedWidget* _stack; Wt::WTable* _table; }; } // namespace UserInterface } // namespace Settings #endif