author | tille <tille> | 2003-05-30 15:06:17 (UTC) |
---|---|---|
committer | tille <tille> | 2003-05-30 15:06:17 (UTC) |
commit | 8699d02f6c152afed9490e7e7a4315044261e6e8 (patch) (side-by-side diff) | |
tree | d2ee2ba401c7a9db0e33beaf0617a1456fe01d50 /noncore/settings/networksettings/ppp/modem.h | |
parent | d8cec07fe5e54a68afe4feca574f9f4d2433e0c1 (diff) | |
download | opie-8699d02f6c152afed9490e7e7a4315044261e6e8.zip opie-8699d02f6c152afed9490e7e7a4315044261e6e8.tar.gz opie-8699d02f6c152afed9490e7e7a4315044261e6e8.tar.bz2 |
modem and pppdata is now member of interfaceppp
Diffstat (limited to 'noncore/settings/networksettings/ppp/modem.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/ppp/modem.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/noncore/settings/networksettings/ppp/modem.h b/noncore/settings/networksettings/ppp/modem.h index b494977..103cbeb 100644 --- a/noncore/settings/networksettings/ppp/modem.h +++ b/noncore/settings/networksettings/ppp/modem.h @@ -32,21 +32,21 @@ #include <sys/types.h> #include <termios.h> #include <unistd.h> #include <qsocketnotifier.h> -//#include <config.h> +class PPPData; void alarm_handler(int); const char *pppdPath(); class Modem : public QObject { Q_OBJECT public: - Modem(); + Modem(PPPData*); ~Modem(); const QString getDevice() {return device;}; void setDevice(const QString dev) {device = dev;}; bool opentty(); @@ -73,13 +73,13 @@ public: bool execPPPDaemon(const QString & arguments); int openResolv(int flags); bool setHostname(const QString & name); public: enum Auth { PAP = 1, CHAP }; - static Modem *modem; + // static Modem *modem; int lastStatus; signals: void charWaiting(unsigned char); private slots: @@ -109,11 +109,12 @@ private: QSocketNotifier *sn; bool data_mode; QString errmsg; struct termios initial_tty; struct termios tty; bool modem_is_locked; + PPPData *_pppdata; }; #endif |