]> git.lyx.org Git - lyx.git/blobdiff - src/Citation.h
Update Win installer for new dictionary links. Untested.
[lyx.git] / src / Citation.h
index 600ba6ca97bc8a8b1282ec5606283793b71eb254..b7af22b751dac00951265db9d90be3ce43220d34 100644 (file)
 #define CITATION_H
 
 #include "support/docstring.h"
-#include <map>
 #include <string>
+#include <vector>
 
 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<std::pair<docstring, docstring>> QualifiedList;
        /// Qualified lists's pre texts
-       std::map<docstring, docstring> pretexts;
+       QualifiedList pretexts;
        ///
-       std::map<docstring, docstring> getPretexts() const { return pretexts; }
+       QualifiedList getPretexts() const { return pretexts; }
        /// Qualified lists's post texts
-       std::map<docstring, docstring> posttexts;
+       QualifiedList posttexts;
        ///
-       std::map<docstring, docstring> 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