]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFloatList.h
progress on buffer-reference-in-insets. beware of instabilities...
[lyx.git] / src / insets / InsetFloatList.h
index 8471f4333e11625725d84ff2a8da41549b28f84c..d699cc7d51c5d1be189b67143f5352b54c45611c 100644 (file)
@@ -27,7 +27,7 @@ public:
        ///
        InsetFloatList(std::string const & type);
        ///
-       docstring const getScreenLabel(Buffer const &) const;
+       docstring screenLabel() const;
        ///
        EDITABLE editable() const { return IS_EDITABLE; }
        ///
@@ -35,31 +35,29 @@ public:
        ///
        DisplayType display() const { return AlignCenter; }
        ///
-       void write(Buffer const &, std::ostream &) const;
+       void write(std::ostream &) const;
        ///
-       void read(Buffer const &, Lexer &);
+       void read(Lexer &);
        ///
-       int latex(Buffer const &, odocstream &,
-                 OutputParams const &) const;
+       int latex(odocstream &, OutputParams const &) const;
        ///
-       int docbook(Buffer const &, odocstream &,
-                   OutputParams const &) const { return 0; }
+       int docbook(odocstream &, OutputParams const &) const { return 0; }
        ///
-       int plaintext(Buffer const &, odocstream &,
-                     OutputParams const & runparams) const;
+       int plaintext(odocstream &, OutputParams const & runparams) const;
        ///
        void validate(LaTeXFeatures & features) const;
        ///
-       static CommandInfo const * findInfo(std::string const & cmdName = "");
+       static ParamInfo const & findInfo(std::string const &);
        ///
        static std::string defaultCommand() { return "listoftables"; };
        ///
        static bool isCompatibleCommand(std::string const & s);
 private:
+       ///
        virtual Inset * clone() const
-       {
-               return new InsetFloatList(to_ascii(getParam("type")));
-       }
+               { return new InsetFloatList(to_ascii(getParam("type"))); }
+       ///
+       static ParamInfo param_info_;
 };