summaryrefslogtreecommitdiff
path: root/project2/fileRows.cpp
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2011-02-15 00:54:19 +0000
committerrandomdan <randomdan@localhost>2011-02-15 00:54:19 +0000
commite52deca9244c134014a0eba54414dd9b0b6734c1 (patch)
tree46dfad5b0c675a2c1be5fca4047e76d2aa3caa03 /project2/fileRows.cpp
parentMerge fileRows and urlRows content parser into a shared based; streamRows (diff)
downloadproject2-e52deca9244c134014a0eba54414dd9b0b6734c1.tar.bz2
project2-e52deca9244c134014a0eba54414dd9b0b6734c1.tar.xz
project2-e52deca9244c134014a0eba54414dd9b0b6734c1.zip
Commit some changes I'd swear blind I'd done already
Diffstat (limited to 'project2/fileRows.cpp')
-rw-r--r--project2/fileRows.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/project2/fileRows.cpp b/project2/fileRows.cpp
index 11a71ef..950bb39 100644
--- a/project2/fileRows.cpp
+++ b/project2/fileRows.cpp
@@ -1,4 +1,5 @@
#include "fileRows.h"
+#include "logger.h"
#include "rowProcessor.h"
#include "xmlObjectLoader.h"
#include "exceptions.h"
@@ -35,9 +36,11 @@ FileRows::execute(const RowProcessor * rp) const
FileStarChannel c(doOpen());
c.set_encoding(encoding);
gunichar ch;
+ begin();
while (c.read(ch) == Glib::IO_STATUS_NORMAL) {
this->pushChar(ch, rp);
}
+ end(rp);
}
FileStarChannel