Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(314)

Side by Side Diff: third_party/lzma/v4_65/files/CPP/Common/StdInStream.h

Issue 624713003: Keep only base/extractor.[cc|h]. (Closed) Base URL: https://chromium.googlesource.com/external/omaha.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Common/StdInStream.h
2
3 #ifndef __COMMON_STDINSTREAM_H
4 #define __COMMON_STDINSTREAM_H
5
6 #include <stdio.h>
7
8 #include "MyString.h"
9 #include "Types.h"
10
11 class CStdInStream
12 {
13 bool _streamIsOpen;
14 FILE *_stream;
15 public:
16 CStdInStream(): _streamIsOpen(false) {};
17 CStdInStream(FILE *stream): _streamIsOpen(false), _stream(stream) {};
18 ~CStdInStream();
19 bool Open(LPCTSTR fileName);
20 bool Close();
21
22 AString ScanStringUntilNewLine();
23 void ReadToString(AString &resultString);
24
25 bool Eof();
26 int GetChar();
27 };
28
29 extern CStdInStream g_StdIn;
30
31 #endif
OLDNEW
« no previous file with comments | « third_party/lzma/v4_65/files/CPP/Common/StdAfx.h ('k') | third_party/lzma/v4_65/files/CPP/Common/StdInStream.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698