]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlMinipage.h
Remove a whole heap of redundant functions from classes derived from
[lyx.git] / src / frontends / controllers / ControlMinipage.h
1 // -*- C++ -*-
2 /**
3  * \file ControlMinipage.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Jürgen Vigna
8  * \author Angus Leeming
9  *
10  * Full author contact details are available in file CREDITS.
11  */
12
13 #ifndef CONTROLMINIPAGE_H
14 #define CONTROLMINIPAGE_H
15
16 #include "Dialog.h"
17 #include "insets/insetminipage.h"
18
19 class ControlMinipage : public Dialog::Controller {
20 public:
21         ///
22         ControlMinipage(Dialog &);
23         ///
24         virtual bool initialiseParams(std::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         InsetMinipage::Params & params() { return *params_.get(); }
33         ///
34         InsetMinipage::Params const & params() const { return *params_.get(); }
35 private:
36         ///
37         boost::scoped_ptr<InsetMinipage::Params> params_;
38 };
39
40 #endif