]>
Commit | Line | Data |
---|---|---|
bfabc7f4 VZ |
1 | /////////////////////////////////////////////////////////////////////////////// |
2 | // Name: wx/private/pipestream.h | |
3 | // Purpose: Declares wxPipeInputStream and wxPipeOutputStream. | |
4 | // Author: Vadim Zeitlin | |
5 | // Modified by: Rob Bresalier | |
6 | // Created: 2013-04-27 | |
bfabc7f4 VZ |
7 | // Copyright: (c) 2003 Vadim Zeitlin <vadim@wxwidgets.org> |
8 | // (c) 2013 Rob Bresalier | |
9 | // Licence: wxWindows licence | |
10 | /////////////////////////////////////////////////////////////////////////////// | |
11 | ||
12 | #ifndef _WX_PRIVATE_PIPESTREAM_H_ | |
13 | #define _WX_PRIVATE_PIPESTREAM_H_ | |
14 | ||
15 | #include "wx/platform.h" | |
16 | ||
17 | // wxPipeInputStream is a platform-dependent input stream class (i.e. deriving, | |
18 | // possible indirectly, from wxInputStream) for reading from a pipe, i.e. a | |
19 | // pipe FD under Unix or a pipe HANDLE under MSW. It provides a single extra | |
20 | // IsOpened() method. | |
21 | // | |
22 | // wxPipeOutputStream is similar but has no additional methods at all. | |
23 | #ifdef __UNIX__ | |
24 | #include "wx/unix/private/pipestream.h" | |
25 | #elif defined(__WINDOWS__) && !defined(__WXWINCE__) | |
26 | #include "wx/msw/private/pipestream.h" | |
27 | #endif | |
28 | ||
29 | #endif // _WX_PRIVATE_PIPESTREAM_H_ |