author | josef <josef> | 2002-10-14 17:21:03 (UTC) |
---|---|---|
committer | josef <josef> | 2002-10-14 17:21:03 (UTC) |
commit | 51e18b363eb37621479a059af58da3040db1be7e (patch) (unidiff) | |
tree | 0099ca456633dda2ef68c3336a1541ecb95d1ae8 /noncore/apps/opie-console/io_modem.h | |
parent | 49d40f92a6988a3deaf9b775803092616d312403 (diff) | |
download | opie-51e18b363eb37621479a059af58da3040db1be7e.zip opie-51e18b363eb37621479a059af58da3040db1be7e.tar.gz opie-51e18b363eb37621479a059af58da3040db1be7e.tar.bz2 |
- only allow sessions if all components (layer, widgetstack) are available
- add io_modem to .pro file so it gets compiled
- fix io_modem compilation (untested, but better than nothing)
Diffstat (limited to 'noncore/apps/opie-console/io_modem.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/io_modem.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/apps/opie-console/io_modem.h b/noncore/apps/opie-console/io_modem.h index 6d44349..d681f66 100644 --- a/noncore/apps/opie-console/io_modem.h +++ b/noncore/apps/opie-console/io_modem.h | |||
@@ -1,11 +1,12 @@ | |||
1 | #ifndef OPIE_IO_MODEM | 1 | #ifndef OPIE_IO_MODEM |
2 | #define OPIE_IO_MODEM | 2 | #define OPIE_IO_MODEM |
3 | 3 | ||
4 | #include <opie/oprocess.h> | 4 | #include <opie/oprocess.h> |
5 | #include "io_serial.h" | 5 | #include "io_serial.h" |
6 | #include "profile.h" | ||
6 | 7 | ||
7 | /* Default values to be used if the profile information is incomplete */ | 8 | /* Default values to be used if the profile information is incomplete */ |
8 | #define MODEM_DEFAULT_DEVICE "/dev/ttyS0" | 9 | #define MODEM_DEFAULT_DEVICE "/dev/ttyS0" |
9 | #define MODEM_DEFAULT_BAUD 9600 | 10 | #define MODEM_DEFAULT_BAUD 9600 |
10 | #define MODEM_DEFAULT_PARITY 0 | 11 | #define MODEM_DEFAULT_PARITY 0 |
11 | #define MODEM_DEFAULT_DBITS 8 | 12 | #define MODEM_DEFAULT_DBITS 8 |
@@ -54,13 +55,13 @@ public slots: | |||
54 | void close(); | 55 | void close(); |
55 | void reload(const Profile &); | 56 | void reload(const Profile &); |
56 | 57 | ||
57 | private: | 58 | private: |
58 | 59 | ||
59 | QString m_initString, m_resetString, m_dialPref1, m_dialSuf1, m_dialPref2, | 60 | QString m_initString, m_resetString, m_dialPref1, m_dialSuf1, m_dialPref2, |
60 | m_dialSuf2, dialPref3, m_dialSuf3, m_connect, m_hangup, m_cancel; | 61 | m_dialSuf2, m_dialPref3, m_dialSuf3, m_connect, m_hangup, m_cancel; |
61 | int m_dialTime, m_delayRedial, m_numberTries, m_dtrDropTime, | 62 | int m_dialTime, m_delayRedial, m_numberTries, m_dtrDropTime, |
62 | m_bpsDetect, m_dcdLines, m_multiLineUntag; | 63 | m_bpsDetect, m_dcdLines, m_multiLineUntag; |
63 | const Profile& m_profile; | 64 | const Profile& m_profile; |
64 | 65 | ||
65 | private slots: | 66 | private slots: |
66 | void slotExited(OProcess* proc); | 67 | void slotExited(OProcess* proc); |