Changeset 5084 in ntrip for trunk/BNC/src/bnccore.cpp


Ignore:
Timestamp:
Mar 31, 2013, 9:51:10 AM (11 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bnccore.cpp

    r5074 r5084  
    5656using namespace std;
    5757
     58// Singleton
     59////////////////////////////////////////////////////////////////////////////
     60t_bncCore& bncCoreInstance() {
     61  static t_bncCore _bncCore;
     62  return _bncCore;
     63}
     64
    5865// Constructor
    5966////////////////////////////////////////////////////////////////////////////
    60 t_bncCore::t_bncCore(bool GUIenabled) {
    61   _GUIenabled  = GUIenabled;
     67t_bncCore::t_bncCore() {
     68  _GUIenabled  = true;
    6269  _logFileFlag = 0;
    6370  _logFile     = 0;
Note: See TracChangeset for help on using the changeset viewer.