]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetRef.h
* InsetCollapsable:
[lyx.git] / src / insets / InsetRef.h
index 2ee6e83c2d30b5a023cb0b71f01946cf5854f3ea..23789a97baebe6095186d45ba34577cba5303ca0 100644 (file)
@@ -43,7 +43,7 @@ public:
        ///
        EDITABLE editable() const { return IS_EDITABLE; }
        ///
-       Code lyxCode() const { return REF_CODE; }
+       InsetCode lyxCode() const { return REF_CODE; }
        ///
        DisplayType display() const { return Inline; }
        ///
@@ -57,15 +57,21 @@ public:
                OutputParams const &) const;
        ///
        void validate(LaTeXFeatures & features) const;
+       ///
+       static CommandInfo const * findInfo(std::string const &);
+       ///
+       static std::string defaultCommand() { return "ref"; };
+       ///
+       static bool isCompatibleCommand(std::string const & s);
 protected:
+       ///
        InsetRef(InsetRef const &);
 
        ///
        virtual void doDispatch(Cursor & cur, FuncRequest & cmd);
 private:
-       virtual Inset * clone() const {
-               return new InsetRef(*this);
-       }
+       ///
+       Inset * clone() const { return new InsetRef(*this); }
        ///
        bool isLatex;
 };