[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdesupport/strigi/src/streamanalyzer
From: Egon Willighagen <e.willighagen () science ! ru ! nl>
Date: 2007-08-09 21:16:29
Message-ID: 1186694189.058510.2133.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 698339 by egonw:
Fixed call of endAnalysis(bool): handleEnd() should not have a bool complete because \
dataeventinputstream calls handleEnd(), so that EventThroughAnalyzer::handleEnd() now \
determines 'complete' with datastream->status() == Eof
M +2 -2 eventthroughanalyzer.cpp
M +1 -1 eventthroughanalyzer.h
--- trunk/kdesupport/strigi/src/streamanalyzer/eventthroughanalyzer.cpp \
#698338:698339 @@ -78,10 +78,10 @@
return more;
}
void
-EventThroughAnalyzer::handleEnd(bool complete) {
+EventThroughAnalyzer::handleEnd() {
vector<StreamEventAnalyzer*>::iterator i;
for (i = event.begin(); i != event.end(); ++i) {
- (*i)->endAnalysis(complete);
+ (*i)->endAnalysis(datastream->status() == Eof);
}
}
StreamThroughAnalyzer*
--- trunk/kdesupport/strigi/src/streamanalyzer/eventthroughanalyzer.h #698338:698339
@@ -47,7 +47,7 @@
InputStream* connectInputStream(InputStream* in);
bool isReadyWithStream();
bool handleData(const char* data, uint32_t size);
- void handleEnd(bool complete);
+ void handleEnd();
const char* name() const { return "EventThroughAnalyzer"; }
public:
EventThroughAnalyzer(std::vector<StreamEventAnalyzer*>& e)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic