Menu

[r32]: / framework / trunk / main.cpp  Maximize  Restore  History

Download this file

30 lines (22 with data), 432 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
#include <iostream>
#include "main_thread.h"
#include "thread_pool.h"
#include "global_config.h"
#include "url.h"
#include "templates.h"
using namespace std;
Templates_Set templates;
int main(int argc,char **argv)
{
try{
global_config.load(argc,argv);
templates.load();
Run_Application<Main_Thread>(argc,argv);
cout<<"Exiting\n";
}
catch(HTTP_Error &s) {
cerr<<s.get()<<endl;
return 1;
}
return 0;
}
MongoDB Logo MongoDB