Changeset View
Changeset View
Standalone View
Standalone View
src/file/extractor/iohandler.h
Show All 28 Lines | |||||
29 | #include <QTextStream> | 29 | #include <QTextStream> | ||
30 | 30 | | |||
31 | namespace Baloo { | 31 | namespace Baloo { | ||
32 | 32 | | |||
33 | class IOHandler | 33 | class IOHandler | ||
34 | { | 34 | { | ||
35 | public: | 35 | public: | ||
36 | IOHandler(int stdin); | 36 | IOHandler(int stdin); | ||
37 | DocId nextId(); | 37 | quint64 nextId(); | ||
38 | bool atEnd() const; | 38 | bool atEnd() const; | ||
39 | 39 | | |||
40 | void newBatch(); | 40 | void newBatch(); | ||
41 | 41 | | |||
42 | void writeStartedIndexingUrl(const QString& url); | 42 | void writeStartedIndexingUrl(const QString& url); | ||
43 | void writeFinishedIndexingUrl(const QString& url); | 43 | void writeFinishedIndexingUrl(const QString& url); | ||
44 | 44 | | |||
45 | // always call this after a batch has been indexed | 45 | // always call this after a batch has been indexed | ||
Show All 12 Lines |