]>
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 | |
7 | // RCS-ID: $Id$ | |
8 | // Copyright: (c) 2003 Vadim Zeitlin <vadim@wxwidgets.org> | |
9 | // (c) 2013 Rob Bresalier | |
10 | // Licence: wxWindows licence | |
11 | /////////////////////////////////////////////////////////////////////////////// | |
12 | ||
13 | #ifndef _WX_PRIVATE_PIPESTREAM_H_ | |
14 | #define _WX_PRIVATE_PIPESTREAM_H_ | |
15 | ||
16 | #include "wx/platform.h" | |
17 | ||
18 | // wxPipeInputStream is a platform-dependent input stream class (i.e. deriving, | |
19 | // possible indirectly, from wxInputStream) for reading from a pipe, i.e. a | |
20 | // pipe FD under Unix or a pipe HANDLE under MSW. It provides a single extra | |
21 | // IsOpened() method. | |
22 | // | |
23 | // wxPipeOutputStream is similar but has no additional methods at all. | |
24 | #ifdef __UNIX__ | |
25 | #include "wx/unix/private/pipestream.h" | |
26 | #elif defined(__WINDOWS__) && !defined(__WXWINCE__) | |
27 | #include "wx/msw/private/pipestream.h" | |
28 | #endif | |
29 | ||
30 | #endif // _WX_PRIVATE_PIPESTREAM_H_ |