libzypp  17.35.8
iodevice_p.h
Go to the documentation of this file.
1 /*---------------------------------------------------------------------\
2 | ____ _ __ __ ___ |
3 | |__ / \ / / . \ . \ |
4 | / / \ V /| _/ _/ |
5 | / /__ | | | | | | |
6 | /_____||_| |_| |_| |
7 | |
8 \----------------------------------------------------------------------/
9 *
10 * This file contains private API, this might break at any time between releases.
11 * You have been warned!
12 *
13 */
14 
15 #ifndef ZYPPNG_IO_IODEVICE_P_DEFINED
16 #define ZYPPNG_IO_IODEVICE_P_DEFINED
17 
18 #include <vector>
19 #include <functional>
22 #include "iobuffer_p.h"
23 
24 
25 namespace zyppng {
26 
27  namespace constants {
28  constexpr std::string_view outOfRangeErrMsg("Channel index out of range");
29  }
30 
31  enum {
33  };
34 
35  class IODevicePrivate : public BasePrivate {
36  public:
38 
39  std::vector<IOBuffer> _readChannels;
42 
43  IODevice::OpenMode _mode = IODevice::Closed;
49  };
50 
51 }
52 
53 
54 #endif
IODevicePrivate(IODevice &p)
Definition: iodevice.cc:5
Signal< void(uint) > _sigReadChannelFinished
Definition: iodevice_p.h:48
Signal< void()> _sigAllBytesWritten
Definition: iodevice_p.h:47
IODevice::OpenMode _mode
Definition: iodevice_p.h:43
constexpr std::string_view outOfRangeErrMsg("Channel index out of range")
Signal< void(uint) > _channelReadyRead
Definition: iodevice_p.h:45
Signal< void() > _readyRead
Definition: iodevice_p.h:44
std::vector< IOBuffer > _readChannels
Definition: iodevice_p.h:39
Signal< void(int64_t)> _sigBytesWritten
Definition: iodevice_p.h:46