X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FCitation.h;h=b7af22b751dac00951265db9d90be3ce43220d34;hb=0515bfa989474c6dc46256b1bea52cff7f330336;hp=600ba6ca97bc8a8b1282ec5606283793b71eb254;hpb=68ab4023ccdf26022a053adc1bfaecef9fef58f4;p=features.git diff --git a/src/Citation.h b/src/Citation.h index 600ba6ca97..b7af22b751 100644 --- a/src/Citation.h +++ b/src/Citation.h @@ -13,13 +13,11 @@ #define CITATION_H #include "support/docstring.h" -#include #include +#include namespace lyx { -class Buffer; - enum CiteEngineType { ENGINE_TYPE_AUTHORYEAR = 1, @@ -87,14 +85,16 @@ public: docstring textAfter; /// text before the citation docstring textBefore; + /// + typedef std::vector> QualifiedList; /// Qualified lists's pre texts - std::map pretexts; + QualifiedList pretexts; /// - std::map getPretexts() const { return pretexts; } + QualifiedList getPretexts() const { return pretexts; } /// Qualified lists's post texts - std::map posttexts; + QualifiedList posttexts; /// - std::map getPosttexts() const { return posttexts; } + QualifiedList getPosttexts() const { return posttexts; } /// the maximum display size as a label size_t max_size; /// the maximum size of the processed keys