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
17 class InsetFloatParams;
22 class ControlFloat : public Dialog::Controller {
25 ControlFloat(Dialog &);
27 virtual bool initialiseParams(std::string const & data);
29 virtual void clearParams();
31 virtual void dispatchParams();
33 virtual bool isBufferDependent() const { return true; }
35 InsetFloatParams & params() { return *params_.get(); }
37 InsetFloatParams const & params() const { return *params_.get(); }
40 boost::scoped_ptr<InsetFloatParams> params_;
43 } // namespace frontend