Revision 0c8d22a5 src/server/middleware.cpp
src/server/middleware.cpp | ||
---|---|---|
25 | 25 |
* Excellence Initiative. |
26 | 26 |
*/ |
27 | 27 |
|
28 |
#include "server/middleware.h"
|
|
28 |
#include <string>
|
|
29 | 29 |
|
30 |
using namespace std;
|
|
31 |
using namespace humotion; |
|
32 |
using namespace humotion::server;
|
|
30 |
#include "humotion/server/middleware.h"
|
|
31 |
|
|
32 |
using humotion::server::Middleware;
|
|
33 | 33 |
|
34 | 34 |
//! constructor |
35 | 35 |
//! open a new Middleware instance. |
36 |
Middleware::Middleware(string scope, Controller *c){
|
|
36 |
Middleware::Middleware(std::string scope, Controller *c) {
|
|
37 | 37 |
controller = c; |
38 | 38 |
base_scope = scope; |
39 | 39 |
} |
40 | 40 |
|
41 | 41 |
//! destructor |
42 |
Middleware::~Middleware(){ |
|
42 |
Middleware::~Middleware() {
|
|
43 | 43 |
} |
44 | 44 |
|
Also available in: Unified diff