summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/sms/services/kopete_unix_serial.h
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/sms/services/kopete_unix_serial.h')
-rw-r--r--kopete/protocols/sms/services/kopete_unix_serial.h16
1 files changed, 6 insertions, 10 deletions
diff --git a/kopete/protocols/sms/services/kopete_unix_serial.h b/kopete/protocols/sms/services/kopete_unix_serial.h
index fd8ed74c..9da7a9ce 100644
--- a/kopete/protocols/sms/services/kopete_unix_serial.h
+++ b/kopete/protocols/sms/services/kopete_unix_serial.h
@@ -15,7 +15,6 @@
#define GSM_UNIX_SERIAL_KOPETE_H
#include "config.h"
-#ifdef INCLUDE_SMSGSM
#include <string>
#include <gsmlib/gsm_error.h>
@@ -43,23 +42,21 @@ protected:
TQSocketNotifier* _readNotifier;
// throw GsmException include UNIX errno
- void throwModemException(std::string message) throw(GsmException);
+ void throwModemException(std::string message);
public:
// create Port given the UNIX device name
KopeteUnixSerialPort(std::string device, speed_t lineSpeed = DEFAULT_BAUD_RATE,
std::string initString = DEFAULT_INIT_STRING,
- bool swHandshake = false)
- throw(GsmException);
+ bool swHandshake = false);
virtual ~KopeteUnixSerialPort();
// inherited from Port
void putBack(unsigned char c);
- int readByte() throw(GsmException);
- std::string getLine() throw(GsmException);
- void putLine(std::string line,
- bool carriageReturn = true) throw(GsmException);
- bool wait(GsmTime timeout) throw(GsmException);
+ int readByte();
+ std::string getLine();
+ void putLine(std::string line, bool carriageReturn = true);
+ bool wait(GsmTime timeout);
void setTimeOut(unsigned int timeout);
signals:
@@ -67,5 +64,4 @@ signals:
};
}
-#endif
#endif // GSM_UNIX_SERIAL_KOPETE_H