blob: ff40b0917948cc1985e9b2a3c99cf5d1f00dfbd3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#ifndef MASTER_CONTENT_HPP
#define MASTER_CONTENT_HPP
#include <cppcms/view.h>
#include <cppcms/form.h>
#include <string>
namespace apps {
class strusCms;
}
namespace content {
struct master : public cppcms::base_content {
std::string title;
std::string login_link;
std::string logout_link;
std::string username;
public:
master( ) : cppcms::base_content( )
{
// TODO: ini
//~ c.login_link=wi.users.login_url();
login_link = "/strusCms/login";
logout_link = "/strusCms/logout";
}
};
}
#endif
|