1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
#ifndef MASTER_CONTENT_HPP #define MASTER_CONTENT_HPP #include <cppcms/view.h> #include <cppcms/form.h> #include <string> namespace content { struct master : public cppcms::base_content { std::string title; std::string login_link; master( ) : cppcms::base_content( ) { //~ c.login_link=wi.users.login_url(); login_link = "/strusCms/login"; } }; } #endif