summaryrefslogtreecommitdiff
path: root/zen/read_txt.cpp
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:28:01 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:28:01 +0200
commitfe9eb89ebc1b3c33cbac00a3fa095a14faef9113 (patch)
tree8a3bb620a9acb83fe0057061a86e8f2cb91a9fe1 /zen/read_txt.cpp
parent5.21 (diff)
downloadFreeFileSync-fe9eb89ebc1b3c33cbac00a3fa095a14faef9113.tar.gz
FreeFileSync-fe9eb89ebc1b3c33cbac00a3fa095a14faef9113.tar.bz2
FreeFileSync-fe9eb89ebc1b3c33cbac00a3fa095a14faef9113.zip
5.22
Diffstat (limited to 'zen/read_txt.cpp')
-rw-r--r--zen/read_txt.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/zen/read_txt.cpp b/zen/read_txt.cpp
index 7566ff14..23649846 100644
--- a/zen/read_txt.cpp
+++ b/zen/read_txt.cpp
@@ -1,3 +1,9 @@
+// **************************************************************************
+// * This file is part of the FreeFileSync project. It is distributed under *
+// * GNU General Public License: http://www.gnu.org/licenses/gpl.html *
+// * Copyright (C) Zenju (zenju AT gmx DOT de) - All Rights Reserved *
+// **************************************************************************
+
#include "read_txt.h"
using namespace zen;
@@ -42,7 +48,7 @@ std::string detectLineBreak(const Zstring& filename) //throw FileError
}
-ExtractLines::ExtractLines(const Zstring& filename, const std::string& lineBreak) : //throw FileError
+LineExtractor::LineExtractor(const Zstring& filename, const std::string& lineBreak) : //throw FileError
inputStream(filename), bufferLogBegin(buffer.begin()), lineBreak_(lineBreak)
{
if (lineBreak.empty())
@@ -50,7 +56,7 @@ ExtractLines::ExtractLines(const Zstring& filename, const std::string& lineBreak
}
-bool ExtractLines::getLine(std::string& output) //throw FileError
+bool LineExtractor::getLine(std::string& output) //throw FileError
{
warn_static("don't use lineBreak, but support any of r, n, rn!!!")
for (;;)
bgstack15