summaryrefslogtreecommitdiff
path: root/gentoobrowse-api/domain/unpackPqTextArray.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2017-09-23 12:29:41 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2017-09-23 12:29:41 +0100
commitbdfb254e4d4b7700dd8dcf689abf9bbb27fa1c7d (patch)
treef0e321bda061ebbb2ced559022ba16a5446b6b3b /gentoobrowse-api/domain/unpackPqTextArray.h
parentSlicer 1.6 compatibility (diff)
downloadgentoobrowse-api-bdfb254e4d4b7700dd8dcf689abf9bbb27fa1c7d.tar.bz2
gentoobrowse-api-bdfb254e4d4b7700dd8dcf689abf9bbb27fa1c7d.tar.xz
gentoobrowse-api-bdfb254e4d4b7700dd8dcf689abf9bbb27fa1c7d.zip
Merge improvements from tidy-arrays branchgentoobrowse-api-0.9.1
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;
};
}