projects
/
ecparse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
don't use buffer parameter
[ecparse.git]
/
CollectionReader.h
diff --git
a/CollectionReader.h
b/CollectionReader.h
index
c01d00b
..
ef71c72
100644
(file)
--- a/
CollectionReader.h
+++ b/
CollectionReader.h
@@
-6,6
+6,7
@@
#include "ReaderInput.h"
#include "ED2KLink.h"
#include "ReaderInput.h"
#include "ED2KLink.h"
+#include "GrowingBuffer.h"
class CollectionReader {
class CollectionReader {
@@
-16,7
+17,16
@@
public:
ED2KLink* getNextLink();
private:
ED2KLink* getNextLink();
private:
+ void identifyCollectionType();
+ bool isLineBreakPresent();
+ void readMoreBytes();
+
+private:
ReaderInput* readerInput;
ReaderInput* readerInput;
+ GrowingBuffer growingBuffer;
+ int version;
+ bool firstLink;
+ bool isTextCollection;
};
};