]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCommandParams.h
Context menu item to add unknown branch (rest of #7643)
[lyx.git] / src / insets / InsetCommandParams.h
index 8d2aaa8fa246cb5268a68296ff8fc1c9f871f9b3..7dc59fa5ee764fc0e46cf65d4d5a6008ee5fdb42 100644 (file)
@@ -140,16 +140,16 @@ public:
        void clear();
        ///
        static bool isCompatibleCommand(InsetCode code, std::string const & s);
-
+       /// 
+       ParamInfo const & info() const { return info_; };
+       ///
+       docstring prepareCommand(OutputParams const & runparams,
+               docstring const & command, ParamInfo::ParamHandling handling) const;
 private:
        std::string getDefaultCmd(InsetCode code);
        /// checks whether we need to write an empty optional parameter
        /// \return true if a non-empty optional parameter follows ci
        bool writeEmptyOptional(ParamInfo::const_iterator ci) const;
-       ///
-       docstring prepareCommand(OutputParams const & runparams,
-                                            docstring const & command,
-                                            ParamInfo::ParamHandling handling) const;
 
        /// Description of all command properties
        ParamInfo info_;