#ifndef PPPMAIN_H
#define PPPMAIN_H

#include <QtCore>
#include "options.h"
#include "pppThread.h"

namespace BNC {

class t_pppMain {
 public:
  t_pppMain();                                                      
  ~t_pppMain();
  void start();                                                     
  void stop();                                                     

 private:
  void readOptions();

  QList<t_options*>   _options;
  QList<t_pppThread*> _pppThreads;
  QString             _logFile;
  QString             _nmeaFile;
  int                 _nmeaPort;
  bool                _running;
};

}; // namespace BNC

#endif
