Guest User

Untitled

a guest
Feb 21st, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. #ifdef HAVE_CONFIG_H
  2. #include <config.h>
  3. #endif
  4.  
  5. #include <iostream>
  6. #include <cstdlib>
  7. #include "myapp.h"
  8.  
  9. int main(int argc, char *argv[]){
  10. MyApp app;
  11. app.setRoute("/test", CALLBACK(&MyApp::subTest));
  12. app.setRoute("/mvc", CALLBACK(&MyApp::subMVC));
  13. app.setRoute("/post", CALLBACK(&MyApp::subPost));
  14. app.setRoute("/seg", CALLBACK(&MyApp::subSeg));
  15. return app.exec();
  16. }
Add Comment
Please, Sign In to add comment