Rev | Line | |
---|
[1317] | 1 |
|
---|
| 2 | #ifndef _QEXTSERIALPORT_H_
|
---|
| 3 | #define _QEXTSERIALPORT_H_
|
---|
| 4 |
|
---|
| 5 | /*POSIX CODE*/
|
---|
| 6 | #ifdef _TTY_POSIX_
|
---|
| 7 | #include "posix_qextserialport.h"
|
---|
| 8 | #define QextBaseType Posix_QextSerialPort
|
---|
| 9 |
|
---|
| 10 | /*MS WINDOWS CODE*/
|
---|
| 11 | #else
|
---|
| 12 | #include "win_qextserialport.h"
|
---|
| 13 | #define QextBaseType Win_QextSerialPort
|
---|
| 14 | #endif
|
---|
| 15 |
|
---|
| 16 | class QextSerialPort: public QextBaseType {
|
---|
| 17 | public:
|
---|
| 18 | QextSerialPort();
|
---|
| 19 | QextSerialPort(const QString & name);
|
---|
| 20 | QextSerialPort(PortSettings const& s);
|
---|
| 21 | QextSerialPort(const QString & name, PortSettings const& s);
|
---|
| 22 | QextSerialPort(const QextSerialPort& s);
|
---|
| 23 | QextSerialPort& operator=(const QextSerialPort&);
|
---|
| 24 | virtual ~QextSerialPort();
|
---|
| 25 | };
|
---|
| 26 |
|
---|
| 27 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.