Changeset 180 in ntrip for trunk/BNC/bncmain.cpp


Ignore:
Timestamp:
Sep 24, 2006, 2:55:38 PM (18 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncmain.cpp

    r173 r180  
    4343  QCoreApplication::setApplicationName("BKG_NTRIP_Client");
    4444
     45  // Default Settings
     46  // ----------------
    4547  QSettings settings;
     48  if (settings.allKeys().size() == 0) {
     49    settings.setValue("casterHost", "www.euref-ip.net");
     50    settings.setValue("casterPort", 80);
     51    settings.setValue("rnxIntr",    "15 min");
     52    settings.setValue("rnxSkel",    "SKL");
     53    settings.setValue("waitTime",   2);
     54  }
    4655
     56  // Interactive Mode - open the main window
     57  // ---------------------------------------
    4758  if (GUIenabled) {
    4859
     
    6071    bncWin->show();
    6172  }
     73
     74  // Non-Interactive (Batch) Mode
     75  // ----------------------------
    6276  else {
    6377    bncCaster* caster = new bncCaster(settings.value("outFile").toString(),
     
    88102    }
    89103  }
     104
     105  // Start the application
     106  // ---------------------
    90107  return app.exec();
    91108}
Note: See TracChangeset for help on using the changeset viewer.