summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/io_modem.cpp
Unidiff
Diffstat (limited to 'noncore/apps/opie-console/io_modem.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/io_modem.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/noncore/apps/opie-console/io_modem.cpp b/noncore/apps/opie-console/io_modem.cpp
index c499dfe..915a1d2 100644
--- a/noncore/apps/opie-console/io_modem.cpp
+++ b/noncore/apps/opie-console/io_modem.cpp
@@ -1,20 +1,16 @@
1 1
2#include "io_modem.h" 2#include "io_modem.h"
3#include "dialer.h" 3#include "dialer.h"
4 4
5/* OPIE */
6#include <opie2/odebug.h>
7using namespace Opie::Core;
8
9IOModem::IOModem( const Profile &profile ) 5IOModem::IOModem( const Profile &profile )
10 : IOSerial( profile ) { 6 : IOSerial( profile ) {
11 m_profile = profile; 7 m_profile = profile;
12} 8}
13 9
14 10
15IOModem::~IOModem() { 11IOModem::~IOModem() {
16} 12}
17 13
18 14
19void IOModem::close() { 15void IOModem::close() {
20 // Hangup, discarding result 16 // Hangup, discarding result
@@ -79,30 +75,12 @@ void IOModem::reload( const Profile &config ) {
79 m_dcdLines = config.readBoolEntry("DCDLines", MODEM_DEFAULT_DCD_LINES ); 75 m_dcdLines = config.readBoolEntry("DCDLines", MODEM_DEFAULT_DCD_LINES );
80 m_multiLineUntag = config.readBoolEntry("MultiLineUntag", MODEM_DEFAULT_MULTI_LINE_UNTAG ); 76 m_multiLineUntag = config.readBoolEntry("MultiLineUntag", MODEM_DEFAULT_MULTI_LINE_UNTAG );
81} 77}
82 78
83 79
84QString IOModem::identifier() const { 80QString IOModem::identifier() const {
85 return "modem"; 81 return "modem";
86} 82}
87 83
88QString IOModem::name() const { 84QString IOModem::name() const {
89 return "Modem IO Layer"; 85 return "Modem IO Layer";
90} 86}
91
92void IOModem::slotExited(OProcess* proc ){
93 close();
94 /* delete it afterwards */
95 delete proc;
96}
97
98QBitArray IOModem::supports()const {
99 return QBitArray( 3 );
100}
101
102bool IOModem::isConnected() {
103 return false;
104}
105
106void IOModem::send(const QByteArray &data) {
107 odebug << "Please overload me..." << oendl;
108}