]> git.lyx.org Git - features.git/blobdiff - src/insets/insetcommandparams.h
support for second \cite option.
[features.git] / src / insets / insetcommandparams.h
index e863a3772d570815b507c6aeff2d84c4439ffa47..d6c5b1074814b12523fd03af6f237ea97d31f5d8 100644 (file)
@@ -26,7 +26,8 @@ public:
        ///
        explicit InsetCommandParams(std::string const & n,
                            std::string const & c = std::string(),
-                           std::string const & o = std::string());
+                           std::string const & o = std::string(),
+                           std::string const & s = std::string());
        ///
        void read(LyXLex &);
        /// Parse the command
@@ -40,12 +41,16 @@ public:
        ///
        std::string const & getOptions() const { return options; }
        ///
+       std::string const & getSecOptions() const { return sec_options; }
+       ///
        std::string const & getContents() const { return contents; }
        ///
        void setCmdName(std::string const & n) { cmdname = n; }
        ///
        void setOptions(std::string const & o) { options = o; }
        ///
+       void setSecOptions(std::string const & s) { sec_options = s; }
+       ///
        void setContents(std::string const & c) { contents = c; }
        ///
        bool preview() const { return preview_; }
@@ -60,6 +65,8 @@ private:
        ///
        std::string options;
        ///
+       std::string sec_options;
+       ///
        bool preview_;
 };