Changeset 5758 in ntrip for trunk/BNC/src/PPP/pppClient.h


Ignore:
Timestamp:
Aug 3, 2014, 1:44:02 PM (10 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/PPP/pppClient.h

    r5744 r5758  
    4040  t_options*          _opt;
    4141
     42  static t_pppClient* instance();
     43
    4244 private:
    4345  void initOutput(t_output* output);
     
    6769}; // namespace BNC
    6870
    69 /// Pointer to the main object
    70 extern BNC::t_pppClient* PPP_CLIENT;
     71// Pointer to the main object (thread-specific)
     72#define PPP_CLIENT (BNC::t_pppClient::instance())
    7173
    72 /// Log stream abbreviation
     74// Log stream abbreviation
    7375#define LOG (*PPP_CLIENT->_log)
    7476
    75 /// Options abbreviation
     77// Options abbreviation
    7678#define OPT (PPP_CLIENT->_opt)
    7779
Note: See TracChangeset for help on using the changeset viewer.