diff options
Diffstat (limited to 'gentoobrowse-api/domain/unpackPqTextArray.h')
-rw-r--r-- | gentoobrowse-api/domain/unpackPqTextArray.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gentoobrowse-api/domain/unpackPqTextArray.h b/gentoobrowse-api/domain/unpackPqTextArray.h new file mode 100644 index 0000000..246be71 --- /dev/null +++ b/gentoobrowse-api/domain/unpackPqTextArray.h @@ -0,0 +1,27 @@ +#ifndef JSONFLEXLEXER_H +#define JSONFLEXLEXER_H + +#include <portage-models.h> +#ifndef yyFlexLexer +#define yyFlexLexer pqBaseFlexLexer +#include <FlexLexer.h> +#endif + +namespace Portage { + namespace Utils { + class UnpackPqTextArray : public yyFlexLexer { + public: + UnpackPqTextArray(std::istream &, ::Gentoo::StringList & sl); + + int yylex() override; + void LexerError(const char * msg) override; + + private: + ::Gentoo::StringList & list; + }; + } +} + +#endif + + |