]> git.tdb.fi Git - libs/core.git/blob - source/io/serial_private.h
Remove deprecated things
[libs/core.git] / source / io / serial_private.h
1 #ifndef MSP_IO_SERIAL_PRIVATE_H_
2 #define MSP_IO_SERIAL_PRIVATE_H_
3
4 #include "serial.h"
5 #include "serial_platform.h"
6
7 namespace Msp {
8 namespace IO {
9
10 struct Serial::DeviceState
11 {
12         PlatformSerialDeviceState state;
13
14         void get_from(const Handle &);
15         void apply_to(const Handle &);
16         void set_baud_rate(unsigned);
17         void set_data_bits(unsigned);
18         void set_parity(Serial::Parity);
19         void set_stop_bits(unsigned);
20 };
21
22 } // namespace IO
23 } // namespace Msp
24
25 #endif