]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetcommandparams.h
insetcharstyle drawing cosmetics
[lyx.git] / src / insets / insetcommandparams.h
index a29dc5fa959b372e3471c93e746077078f1f1ee0..d6c5b1074814b12523fd03af6f237ea97d31f5d8 100644 (file)
@@ -24,10 +24,10 @@ public:
        ///
        InsetCommandParams();
        ///
-       explicit
-       InsetCommandParams(std::string const & n,
+       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
@@ -41,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_; }
@@ -61,16 +65,16 @@ private:
        ///
        std::string options;
        ///
+       std::string sec_options;
+       ///
        bool preview_;
 };
 
 
 ///
-bool operator==(InsetCommandParams const &,
-               InsetCommandParams const &);
+bool operator==(InsetCommandParams const &, InsetCommandParams const &);
 
 ///
-bool operator!=(InsetCommandParams const &,
-               InsetCommandParams const &);
+bool operator!=(InsetCommandParams const &, InsetCommandParams const &);
 
 #endif