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


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.h

    r5074 r5084  
    4444  public:
    4545    enum e_mode {interactive, nonInteractive, batchPostProcessing};
    46     t_bncCore(bool GUIenabled);
     46    t_bncCore();
    4747    virtual ~t_bncCore(); 
    4848    e_mode mode() const {return _mode;}
    49     void   setMode(e_mode mode) {_mode = mode;}
     49    void setGUIenabled(bool GUIenabled) {_GUIenabled = GUIenabled;}
     50    void setMode(e_mode mode) {_mode = mode;}
    5051    void setPort(int port);
    5152    void setPortCorr(int port);
     
    142143};
    143144
    144 extern t_bncCore* BNC_CORE;
     145t_bncCore& bncCoreInstance();
     146
     147#define BNC_CORE (&bncCoreInstance())
    145148
    146149#endif
Note: See TracChangeset for help on using the changeset viewer.