Update README.md
[nemesis.git] / Platform / TextReader.h
1 /*
2  Copyright (c) 2008 TrueCrypt Developers Association. All rights reserved.
3
4  Governed by the TrueCrypt License 3.0 the full text of which is contained in
5  the file License.txt included in TrueCrypt binary and source code distribution
6  packages.
7 */
8
9 #ifndef TC_HEADER_Platform_TextReader
10 #define TC_HEADER_Platform_TextReader
11
12 #include "PlatformBase.h"
13 #include "FileStream.h"
14 #include "FilesystemPath.h"
15 #include "SharedPtr.h"
16 #include "Stream.h"
17
18 namespace TrueCrypt
19 {
20         class TextReader
21         {
22         public:
23                 TextReader (const FilePath &path);
24                 TextReader (shared_ptr <Stream> stream) : InputStream (stream) { }
25                 virtual ~TextReader () { }
26
27                 virtual bool ReadLine (string &outputString);
28
29         protected:
30                 shared_ptr <File> InputFile;
31                 shared_ptr <Stream> InputStream;
32         };
33 }
34
35 #endif // TC_HEADER_Platform_TextReader
This page took 0.017955 seconds and 3 git commands to generate. Download a nemesis OSX (sierra+high sierra, tested/working) binary, with fuse-ext3 via e2fsprogs, at this link. application and installer are signed by screwjack, llc. must install fuse with macFUSE layer first.