]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlFloat.h
Add a buffer_path arg to InsetGraphicsMailer's params2string, string2params.
[lyx.git] / src / frontends / controllers / ControlFloat.h
1 // -*- C++ -*-
2 /**
3  * \file ControlFloat.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author unknown
8  *
9  * Full author contact details are available in file CREDITS
10  */
11
12 #ifndef CONTROLFLOAT_H
13 #define CONTROLFLOAT_H
14
15 #include "Dialog.h"
16
17 class InsetFloatParams;
18
19 class ControlFloat : public Dialog::Controller {
20 public:
21         ///
22         ControlFloat(Dialog &);
23         ///
24         virtual bool initialiseParams(string const & data);
25         /// clean-up on hide.
26         virtual void clearParams();
27         /// clean-up on hide.
28         virtual void dispatchParams();
29         ///
30         virtual bool isBufferDependent() const { return true; }
31         ///
32         InsetFloatParams & params() { return *params_.get(); }
33         ///
34         InsetFloatParams const & params() const { return *params_.get(); }
35 private:
36         ///
37         boost::scoped_ptr<InsetFloatParams> params_;
38 };
39
40 #endif