Browse Source

added parser, ***COMMENTED OUT*** / If you value your sanity, please don't uncomment it

master
despair 5 years ago
parent
commit
fe137aec79
  1. 7
      src/main.cpp

7
src/main.cpp

@ -8,6 +8,7 @@ @@ -8,6 +8,7 @@
#include "WebResource.h"
#include "tlsf.h"
//#include "scheduler.h"
#include "CFGFileParser.h"
#include "browser.h"
#include <ctime>
@ -113,8 +114,10 @@ int main(int argc, char *argv[]) { @@ -113,8 +114,10 @@ int main(int argc, char *argv[]) {
std::cout << "# # ######" << std::endl << "## # ###### ##### # # # # # # # # ###### #####" << std::endl << "# # # # # # # # # ## # ## # # # #" << std::endl << "# # # ##### # ###### # # # # # # # # ##### # #" << std::endl << "# # # # # # # # # # # # # # # # #####" << std::endl << "# ## # # # # # # # ## # ## # # #" << std::endl << "# # ###### # # # #### # # # # ###### # #" << std::endl;
std::cout << "/g/ntr - NetRunner build " << __DATE__ << ": internal-dev non-Makefile build" << std::endl;
#endif
Environment::init();
Environment::init();
// If you value your sanity, please don't uncomment these lines!
//CFGFileParser *parser = new CFGFileParser("lynx.cfg");
//parser->ParseText();
/*
// we need to set up OGL before we can setDOM (because component can't be constructed (currently) without OGL)
// but should be after CommandLineParams incase we need to change some type of window config

Loading…
Cancel
Save