00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #ifndef _SUPPORT2_WINDOWSSTREAMS_H
00014 #define _SUPPORT2_WINDOWSSTREAMS_H
00015
00016 #include <sys/uio.h>
00017 #include <support/SupportDefs.h>
00018 #include <support/ByteStream.h>
00019
00020 #if _SUPPORTS_NAMESPACE
00021 namespace palmos {
00022 namespace support {
00023 #endif
00024
00025
00026
00027 class BWindowsOutputStream : public BnByteOutput
00028 {
00029 public:
00030 BWindowsOutputStream();
00031 virtual ~BWindowsOutputStream();
00032
00033 virtual ssize_t WriteV(const struct iovec *vector, ssize_t count, uint32_t flags = 0);
00034 virtual status_t Sync();
00035
00036 private:
00037 };
00038
00039
00040
00041 class BWindowsInputStream : public BnByteInput
00042 {
00043 public:
00044 BWindowsInputStream();
00045 virtual ~BWindowsInputStream();
00046
00047 virtual ssize_t ReadV(const struct iovec *vector, ssize_t count);
00048
00049 private:
00050 };
00051
00052
00053
00054 #if _SUPPORTS_NAMESPACE
00055 } }
00056 #endif
00057
00058 #endif