]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetcommand.h
insetcharstyle drawing cosmetics
[lyx.git] / src / insets / insetcommand.h
index ce0b85b629a5666b3c8607bdca5a310223ff6e68..1548d7c84d2eaa1d96be80e4365be517ad6bbed5 100644 (file)
@@ -70,13 +70,13 @@ public:
        ///
        std::string const & getOptions() const { return p_.getOptions(); }
        ///
+       std::string const & getSecOptions() const { return p_.getSecOptions(); }
+       ///
        RenderButton & button() const { return button_; }
 
 protected:
        ///
-       virtual
-       DispatchResult
-       priv_dispatch(LCursor & cur, FuncRequest const & cmd);
+       void priv_dispatch(LCursor & cur, FuncRequest & cmd);
        ///
        std::string const getCommand() const { return p_.getCommand(); }
        ///
@@ -86,6 +86,8 @@ protected:
        ///
        void setOptions(std::string const & o) { p_.setOptions(o); }
        ///
+       void setSecOptions(std::string const & s) { p_.setSecOptions(s); }
+       ///
        void setParams(InsetCommandParams const &);
        /// This should provide the text for the button
        virtual std::string const getScreenLabel(Buffer const &) const = 0;