Changeset 180 in ntrip for trunk/BNC/bncmain.cpp
- Timestamp:
- Sep 24, 2006, 2:55:38 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncmain.cpp
r173 r180 43 43 QCoreApplication::setApplicationName("BKG_NTRIP_Client"); 44 44 45 // Default Settings 46 // ---------------- 45 47 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 } 46 55 56 // Interactive Mode - open the main window 57 // --------------------------------------- 47 58 if (GUIenabled) { 48 59 … … 60 71 bncWin->show(); 61 72 } 73 74 // Non-Interactive (Batch) Mode 75 // ---------------------------- 62 76 else { 63 77 bncCaster* caster = new bncCaster(settings.value("outFile").toString(), … … 88 102 } 89 103 } 104 105 // Start the application 106 // --------------------- 90 107 return app.exec(); 91 108 }
Note:
See TracChangeset
for help on using the changeset viewer.