diff options
Diffstat (limited to 'src/stable/stdstream.h')
-rw-r--r-- | src/stable/stdstream.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/stable/stdstream.h b/src/stable/stdstream.h index c3ab153..d71d95d 100644 --- a/src/stable/stdstream.h +++ b/src/stable/stdstream.h | |||
@@ -19,7 +19,12 @@ namespace Bu | |||
19 | class StdStream : public Stream | 19 | class StdStream : public Stream |
20 | { | 20 | { |
21 | public: | 21 | public: |
22 | StdStream(); | 22 | enum OutMode |
23 | { | ||
24 | StdOut, | ||
25 | StdError | ||
26 | }; | ||
27 | StdStream( OutMode eOut=StdOut ); | ||
23 | virtual ~StdStream(); | 28 | virtual ~StdStream(); |
24 | 29 | ||
25 | virtual void close(); | 30 | virtual void close(); |
@@ -43,7 +48,10 @@ namespace Bu | |||
43 | virtual void setSize( size iSize ); | 48 | virtual void setSize( size iSize ); |
44 | virtual size getSize() const; | 49 | virtual size getSize() const; |
45 | virtual size getBlockSize() const; | 50 | virtual size getBlockSize() const; |
46 | virtual Bu::String getLocation() const; | 51 | virtual Bu::String getLocation() const; |
52 | |||
53 | private: | ||
54 | OutMode eOut; | ||
47 | }; | 55 | }; |
48 | } | 56 | } |
49 | 57 | ||