Diffstat (limited to 'noncore/apps/opie-console/io_modem.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/io_modem.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/noncore/apps/opie-console/io_modem.cpp b/noncore/apps/opie-console/io_modem.cpp index b74d076..c499dfe 100644 --- a/noncore/apps/opie-console/io_modem.cpp +++ b/noncore/apps/opie-console/io_modem.cpp | |||
@@ -1,27 +1,27 @@ | |||
1 | 1 | ||
2 | #include "io_modem.h" | 2 | #include "io_modem.h" |
3 | |||
4 | #include "dialer.h" | 3 | #include "dialer.h" |
5 | 4 | ||
5 | /* OPIE */ | ||
6 | #include <opie2/odebug.h> | ||
6 | using namespace Opie::Core; | 7 | using namespace Opie::Core; |
7 | using namespace Opie::Core; | 8 | |
8 | IOModem::IOModem( const Profile &profile ) | 9 | IOModem::IOModem( const Profile &profile ) |
9 | : IOSerial( profile ) { | 10 | : IOSerial( profile ) { |
10 | m_profile = profile; | 11 | m_profile = profile; |
11 | } | 12 | } |
12 | 13 | ||
13 | 14 | ||
14 | IOModem::~IOModem() { | 15 | IOModem::~IOModem() { |
15 | |||
16 | } | 16 | } |
17 | 17 | ||
18 | 18 | ||
19 | void IOModem::close() { | 19 | void IOModem::close() { |
20 | // Hangup, discarding result | 20 | // Hangup, discarding result |
21 | //int fd = rawIO(); | 21 | //int fd = rawIO(); |
22 | internDetach(); | 22 | internDetach(); |
23 | Dialer d(m_profile, m_fd); | 23 | Dialer d(m_profile, m_fd); |
24 | d.setHangupOnly(); | 24 | d.setHangupOnly(); |
25 | //d.exec(); | 25 | //d.exec(); |
26 | internAttach(); | 26 | internAttach(); |
27 | //closeRawIO(fd); | 27 | //closeRawIO(fd); |
@@ -95,14 +95,14 @@ void IOModem::slotExited(OProcess* proc ){ | |||
95 | delete proc; | 95 | delete proc; |
96 | } | 96 | } |
97 | 97 | ||
98 | QBitArray IOModem::supports()const { | 98 | QBitArray IOModem::supports()const { |
99 | return QBitArray( 3 ); | 99 | return QBitArray( 3 ); |
100 | } | 100 | } |
101 | 101 | ||
102 | bool IOModem::isConnected() { | 102 | bool IOModem::isConnected() { |
103 | return false; | 103 | return false; |
104 | } | 104 | } |
105 | 105 | ||
106 | void IOModem::send(const QByteArray &data) { | 106 | void IOModem::send(const QByteArray &data) { |
107 | qDebug( "Please overload me..." ); | 107 | odebug << "Please overload me..." << oendl; |
108 | } | 108 | } |