Changeset 757 in ntrip for trunk/BNS/bnsmain.cpp


Ignore:
Timestamp:
Mar 30, 2008, 5:30:50 PM (16 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNS/bnsmain.cpp

    r756 r757  
    2626int main(int argc, char *argv[]) {
    2727
     28  // Command-Line Options
     29  // --------------------
    2830  bool GUIenabled = true;
    2931  for (int ii = 1; ii < argc; ii++) {
     
    3436  }
    3537
     38  // Main Qt Class
     39  // -------------
    3640  QApplication app(argc, argv, GUIenabled);
    3741
     
    4044  app.setApplicationName("BKG_NTRIP_Server");
    4145
     46  // Main processing class
     47  // ---------------------
     48  t_bns* bns = new t_bns();
     49
    4250  // Interactive Mode - open the main window
    4351  // ---------------------------------------
    4452  if (GUIenabled) {
    45     bnsWindow* bnsWin = new bnsWindow();
     53    bnsWindow* bnsWin = new bnsWindow(bns);
    4654    bnsWin->show();
    4755  }
     
    5058  // ----------------------------
    5159  else {
    52 
     60    bns->start();
    5361  }
    5462
Note: See TracChangeset for help on using the changeset viewer.