4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
12 #ifndef CONTROLFLOAT_H
13 #define CONTROLFLOAT_H
16 #include <boost/scoped_ptr.hpp>
20 class InsetFloatParams;
24 class ControlFloat : public Controller {
27 ControlFloat(Dialog &);
29 virtual bool initialiseParams(std::string const & data);
31 virtual void clearParams();
33 virtual void dispatchParams();
35 virtual bool isBufferDependent() const { return true; }
37 InsetFloatParams & params() { return *params_.get(); }
39 InsetFloatParams const & params() const { return *params_.get(); }
42 boost::scoped_ptr<InsetFloatParams> params_;
45 } // namespace frontend