]> git.lyx.org Git - lyx.git/blobdiff - src/Citation.h
More requires --> required, for C++2a.
[lyx.git] / src / Citation.h
index 600ba6ca97bc8a8b1282ec5606283793b71eb254..8aeb56c3e5a207b39fa67135692b836ef934716a 100644 (file)
@@ -13,8 +13,8 @@
 #define CITATION_H
 
 #include "support/docstring.h"
-#include <map>
 #include <string>
+#include <vector>
 
 namespace lyx {
 
@@ -87,14 +87,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