Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

interfaceppp.h

Go to the documentation of this file.
00001 #ifndef INTERFACEPPP_H
00002 #define INTERFACEPPP_H
00003 
00004 #include <sys/types.h>
00005 
00006 #include "interface.h"
00007 
00008 class PPPData;
00009 class Modem;
00010 
00011 class InterfacePPP : public Interface
00012 {
00013     Q_OBJECT
00014 
00015 public:
00016     InterfacePPP(QObject *parent=0, const char *name="PPP", bool status=false);
00017 
00018     PPPData* data()const;
00019     Modem* modem()const;
00020     QString pppDev()const; // returns the ppp device.... /dev/ppp0...
00021     pid_t pppPID()const;
00022 
00023 signals:
00024   void begin_connect();
00025   void hangup_now();
00026 
00027 public slots:
00028   virtual bool refresh();
00029   virtual void start();
00030   virtual void stop();
00031   void save();
00032   void setPPPDpid( pid_t ); // sets the pppd pid for modem...
00033 
00034  private:
00035   mutable Modem *_modemPtr;
00036   mutable PPPData *_dataPtr;
00037 };
00038 
00039 
00040 #endif

Generated on Sat Nov 5 16:17:50 2005 for OPIE by  doxygen 1.4.2