]> git.lyx.org Git - lyx.git/blob - src/frontends/gtk/GNote.h
Change glob() API to accept a dir parameter.
[lyx.git] / src / frontends / gtk / GNote.h
1 // -*- C++ -*-
2 /**
3  * \file GNote.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 GNOTE_H
13 #define GNOTE_H
14
15 #include "GViewBase.h"
16
17 namespace lyx {
18 namespace frontend {
19
20 class ControlNote;
21
22 /** This class provides a GTK+ implementation of the Note Dialog.
23  */
24 class GNote : public GViewCB<ControlNote, GViewGladeB> {
25 public:
26         GNote(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 * lyxnoteradio_;
36         Gtk::RadioButton * commentradio_;
37         Gtk::RadioButton * greyedoutradio_;
38 };
39
40 } // namespace frontend
41 } // namespace lyx
42
43 #endif // GNOTE_H