textreader.h
来自「使用visual studio 2005 开发的开源文件、磁盘加密软件。这是6.」· C头文件 代码 · 共 36 行
H
36 行
/*
Copyright (c) 2008 TrueCrypt Foundation. All rights reserved.
Governed by the TrueCrypt License 2.6 the full text of which is contained
in the file License.txt included in TrueCrypt binary and source code
distribution packages.
*/
#ifndef TC_HEADER_Platform_TextReader
#define TC_HEADER_Platform_TextReader
#include "PlatformBase.h"
#include "FileStream.h"
#include "FilesystemPath.h"
#include "SharedPtr.h"
#include "Stream.h"
namespace TrueCrypt
{
class TextReader
{
public:
TextReader (const FilePath &path);
TextReader (shared_ptr <Stream> stream) : InputStream (stream) { }
virtual ~TextReader () { }
virtual bool ReadLine (string &outputString);
protected:
shared_ptr <File> InputFile;
shared_ptr <Stream> InputStream;
};
}
#endif // TC_HEADER_Platform_TextReader
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?