]> git.lyx.org Git - lyx.git/blob - src/frontends/gtk/GERT.h
Change glob() API to accept a dir parameter.
[lyx.git] / src / frontends / gtk / GERT.h
1 // -*- C++ -*-
2 /**
3  * \file GERT.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author John Spray
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef GERT_H
13 #define GERT_H
14
15 #include "GViewBase.h"
16
17 namespace lyx {
18 namespace frontend {
19
20 class ControlERT;
21
22 /** This class provides a GTK+ implementation of the ERT Dialog.
23  */
24 class GERT : public GViewCB<ControlERT, GViewGladeB> {
25 public:
26         GERT(Dialog & parent);
27 private:
28         virtual void apply();
29         virtual void doBuild();
30         virtual void update();
31
32         // apply() won't act when this is true
33         bool applylock_;
34
35         Gtk::RadioButton * inlineradio_;
36         Gtk::RadioButton * openradio_;
37         Gtk::RadioButton * collapsedradio_;
38 };
39
40 } // namespace frontend
41 } // namespace lyx
42
43 #endif // GERT_H