#ifndef PPPMAIN_H
#define PPPMAIN_H

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

namespace BNC_PPP {

class t_pppMain : public QObject {
Q_OBJECT
 public:
  t_pppMain();                                                      
  ~t_pppMain();
  void start();                                                     
 public slots:
  void slotStop();                                                     

 private:
  void readOptions();

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

}; // namespace BNC_PPP

#endif
