Changeset 757 in ntrip for trunk/BNS/bnsmain.cpp
- Timestamp:
- Mar 30, 2008, 5:30:50 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNS/bnsmain.cpp
r756 r757 26 26 int main(int argc, char *argv[]) { 27 27 28 // Command-Line Options 29 // -------------------- 28 30 bool GUIenabled = true; 29 31 for (int ii = 1; ii < argc; ii++) { … … 34 36 } 35 37 38 // Main Qt Class 39 // ------------- 36 40 QApplication app(argc, argv, GUIenabled); 37 41 … … 40 44 app.setApplicationName("BKG_NTRIP_Server"); 41 45 46 // Main processing class 47 // --------------------- 48 t_bns* bns = new t_bns(); 49 42 50 // Interactive Mode - open the main window 43 51 // --------------------------------------- 44 52 if (GUIenabled) { 45 bnsWindow* bnsWin = new bnsWindow( );53 bnsWindow* bnsWin = new bnsWindow(bns); 46 54 bnsWin->show(); 47 55 } … … 50 58 // ---------------------------- 51 59 else { 52 60 bns->start(); 53 61 } 54 62
Note:
See TracChangeset
for help on using the changeset viewer.