summaryrefslogtreecommitdiff
path: root/gentoobrowse-api/domain/unpackPqTextArray.h
diff options
context:
space:
mode:
Diffstat (limited to 'gentoobrowse-api/domain/unpackPqTextArray.h')
-rw-r--r--gentoobrowse-api/domain/unpackPqTextArray.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gentoobrowse-api/domain/unpackPqTextArray.h b/gentoobrowse-api/domain/unpackPqTextArray.h
index aefaddd..5f639b4 100644
--- a/gentoobrowse-api/domain/unpackPqTextArray.h
+++ b/gentoobrowse-api/domain/unpackPqTextArray.h
@@ -10,13 +10,15 @@
namespace Slicer {
class UnpackPqTextArray : public yyFlexLexer {
public:
- UnpackPqTextArray(std::istream &, ::Gentoo::StringList & sl);
+ UnpackPqTextArray(std::istream &);
+ virtual ~UnpackPqTextArray() = default;
int yylex() override;
void LexerError(const char * msg) override;
+ virtual void consume(const std::string &) = 0;
private:
- ::Gentoo::StringList & list;
+ std::string buffer;
};
}