Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifdef HAVE_CONFIG_H
- #include <config.h>
- #endif
- #include <iostream>
- #include <cstdlib>
- #include "myapp.h"
- int main(int argc, char *argv[]){
- MyApp app;
- app.setRoute("/test", CALLBACK(&MyApp::subTest));
- app.setRoute("/mvc", CALLBACK(&MyApp::subMVC));
- app.setRoute("/post", CALLBACK(&MyApp::subPost));
- app.setRoute("/seg", CALLBACK(&MyApp::subSeg));
- return app.exec();
- }
Add Comment
Please, Sign In to add comment