Menu

[r712]: / framework2 / trunk / cppcms / application.h  Maximize  Restore  History

Download this file

47 lines (35 with data), 857 Bytes

 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
36
37
38
39
40
41
42
43
44
45
46
#ifndef CPPCMS_APPICATION_H
#define CPPCMS_APPICATION_H
#include <cppcms/defs.h>
#include <cppcms/util/noncopyable.h>
#include <string>
namespace cppcms {
namespace http {
class request;
class response;
class context;
class view_interface;
} // http
class cache_interface;
class session_interface;
class locle_interface;
class url_dispatcher;
class view_interface;
class CPPCMS_API application : public util::noncopyable {
public:
http::context &context();
http::request &request();
http::response &response();
cache_interface &cache();
session_interface &session();
locale_interface &locale();
view_interface &view();
url_dispatcher &url();
// public virtual functions
virtual void run(http::context &context,std::string path);
// ctor/dtor
application();
virtual ~application();
};
} // cppcms
#endif
MongoDB Logo MongoDB