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


Ignore:
Timestamp:
Feb 28, 2009, 11:09:23 AM (15 years ago)
Author:
weber
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNS/bnsmain.cpp

    r775 r1668  
    2020#include "bnswindow.h"
    2121#include "bnsutils.h"
     22#include "bnsapp.h"
     23#include "bnssettings.h"
    2224
    2325using namespace std;
     
    2628/////////////////////////////////////////////////////////////////////////////
    2729int main(int argc, char *argv[]) {
     30
     31  QString confFileName;
    2832
    2933  // Command-Line Options
     
    3943  // Main Qt Class
    4044  // -------------
    41   QApplication app(argc, argv, GUIenabled);
     45//QApplication app(argc, argv, GUIenabled);
     46  bnsApp app(argc, argv, GUIenabled);
    4247
     48  app.setApplicationName("BNS");
    4349  app.setOrganizationName("BKG");
    4450  app.setOrganizationDomain("www.bkg.bund.de");
    45   app.setApplicationName("BKG_NTRIP_Server");
     51  app.setConfFileName( confFileName );
    4652
    4753  // Interactive Mode - open the main window
Note: See TracChangeset for help on using the changeset viewer.