]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetHFill.h
pimpl not needed here
[lyx.git] / src / insets / InsetHFill.h
index 554cd9eb9f518e365b437860fcb4a5b38196ecc8..6c015afd470d976c92e5798fe0ed3e96eda380a8 100644 (file)
@@ -27,7 +27,7 @@ public:
        ///
        docstring const getScreenLabel(Buffer const &) const;
        ///
-       Inset::Code lyxCode() const { return Inset::HFILL_CODE; }
+       InsetCode lyxCode() const { return HFILL_CODE; }
        ///
        int plaintext(Buffer const &, odocstream &,
                      OutputParams const &) const;
@@ -41,6 +41,13 @@ public:
        /// is this equivalent to a space (which is BTW different from
        // a line separator)?
        bool isSpace() const;
+       ///
+       static CommandInfo const * findInfo(std::string const &);
+       ///
+       static std::string defaultCommand() { return "hfill"; };
+       ///
+       static bool isCompatibleCommand(std::string const & s) 
+               { return s == "hfill"; }
 private:
        virtual Inset * clone() const;
 };