Rudiments: /home/dmuse/temp/rudiments/include/rudiments/private/modemutil.h Source File

Rudiments

modemutil.h
1 // Copyright (c) 1999-2018 David Muse
2 // See the COPYING file for more information.
3
4 #ifndef RUDIMENTS_MODEMUTIL_H
5 #define RUDIMENTS_MODEMUTIL_H
6
7 #include <rudiments/listener.h>
8
9 class modemutilprivate;
10
11 class RUDIMENTS_DLLSPEC modemutil {
12 public:
13 modemutil();
14 virtual ~modemutil();
15
16 void initialize(const char *device, const char *baud);
17
18 protected:
19 const char *_devicename();
20 const char *_baud();
21
22 bool configureSerialPort(int32_t fd, const char *baud);
23
24 private:
25 modemutilprivate *pvt;
26
27 };
28
29 #endif
device
Definition: device.h:16
modemutil
Definition: modemutil.h:11