|
|
1.1 root 1: /* 1.1.1.6 ! root 2: Copyright (c) 2008 TrueCrypt Developers Association. All rights reserved. 1.1 root 3: 1.1.1.6 ! root 4: Governed by the TrueCrypt License 2.8 the full text of which is contained in ! 5: the file License.txt included in TrueCrypt binary and source code distribution ! 6: packages. 1.1 root 7: */ 8: 9: #ifndef TC_HEADER_Platform_Stream 10: #define TC_HEADER_Platform_Stream 11: 12: #include "PlatformBase.h" 13: #include "Buffer.h" 14: 15: namespace TrueCrypt 16: { 17: class Stream 18: { 19: public: 20: virtual ~Stream () { } 21: virtual uint64 Read (const BufferPtr &buffer) = 0; 22: virtual void ReadCompleteBuffer (const BufferPtr &buffer) = 0; 23: virtual void Write (const ConstBufferPtr &data) = 0; 24: 25: protected: 26: Stream () { }; 27: 28: private: 29: Stream (const Stream &); 30: Stream &operator= (const Stream &); 31: }; 32: } 33: 34: #endif // TC_HEADER_Platform_Stream
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.