Update drogon_ctl
This commit is contained in:
parent
f3e74a05de
commit
1cf7ef84b2
|
@ -180,14 +180,23 @@ void create_view::newViewHeaderFile(std::ofstream &file,const std::string &class
|
|||
|
||||
void create_view::newViewSourceFile(std::ofstream &file,const std::string &className,std::ifstream &infile)
|
||||
{
|
||||
file << "//this file is generated by program automatically,don't modify it!\n";
|
||||
file << "//this file is generated by program(drogon_ctl) automatically,don't modify it!\n";
|
||||
file << "#include \"" << className << ".h\"\n";
|
||||
file <<"#include <drogon/config.h>\n";
|
||||
file <<"#include <string>\n";
|
||||
file <<"#include <sstream>\n";
|
||||
file <<"#include <map>\n";
|
||||
file <<"#include <vector>\n";
|
||||
file <<"#include <set>\n";
|
||||
file <<"#include <iostream>\n";
|
||||
file <<"#include <unordered_map>\n";
|
||||
file <<"#include <unordered_set>\n";
|
||||
file <<"#include <algorithm>\n";
|
||||
file <<"#include <list>\n";
|
||||
file <<"#include <deque>\n";
|
||||
file <<"#include <queue>\n";
|
||||
|
||||
|
||||
file <<"using namespace std;\n";
|
||||
// file <<"void __attribute__((constructor)) startup()\n";
|
||||
// file <<"{std::cout<<\"dynamic lib start to load!\"<<std::endl;}\n";
|
||||
|
|
Loading…
Reference in New Issue