#include <cppcms/application.h>
#include <cppcms/applications_pool.h>
#include <cppcms/service.h>
#include <cppcms/http_response.h>
#include <cppcms/url_dispatcher.h>
#include <iostream>
#include "content.h"
public:
    {
    }
    void ini(content::master &c)
    {
        c.title = "My Web Site";
    }
    void intro()
    {
        content::master c;
        ini(c);
    }
    void page()
    {
        content::page c;
        ini(c);
        c.page_title = "About";
        c.page_content = "<p>A page about this web site</p>";
    }
    void news()
    {
        content::news c;
        ini(c);
        c.news_list.push_back("This is the latest message!");
        c.news_list.push_back("This is the next message.");
        c.news_list.push_back("This is the last message!");
    }
};
int main(
int argc,
char ** argv)
 {
    try {
    }
    catch(std::exception const &e) {
        std::cerr<<e.what()<<std::endl;
    }
}