]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlERT.h
Move the external dialog to the new scheme.
[lyx.git] / src / frontends / controllers / ControlERT.h
1 // -*- C++ -*-
2 /**
3  * \file ControlERT.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 CONTROLERT_H
14 #define CONTROLERT_H
15
16
17 #include "Dialog.h"
18 #include "insets/insetert.h" // InsetERT::ERTStatus
19
20
21 class ControlERT : public Dialog::Controller {
22 public:
23         ///
24         ControlERT(Dialog &);
25         ///
26         InsetERT::ERTStatus status() const { return status_; }
27         ///
28         void setStatus(InsetERT::ERTStatus status) { status_ = status; }
29         ///
30         virtual void initialiseParams(string const & data);
31         /// clean-up on hide.
32         virtual void clearParams();
33         /// clean-up on hide.
34         virtual void dispatchParams();
35         ///
36         virtual bool isBufferDependent() const { return true; }
37 private:
38         ///
39         InsetERT::ERTStatus status_;
40 };
41
42 #endif