]> git.lyx.org Git - lyx.git/blob - src/frontends/gnome/GLog.h
doxygen fixes.
[lyx.git] / src / frontends / gnome / GLog.h
1
2 // -*- C++ -*-
3 /**
4  * \file GLog.h
5  * This file is part of LyX, the document processor.
6  * Licence details can be found in the file COPYING.
7  *
8  * \author Michael Koziarski 
9  *
10  * Full author contact details are available in file CREDITS
11  */
12
13 #ifndef GLOG_H
14 #define GLOG_H
15
16 #ifdef __GNUG__
17 #pragma interface
18 #endif
19
20 #include "ControlLog.h"
21 #include "GnomeBase.h"
22
23 namespace Gtk {
24         class Button;
25         class TextView;
26 }
27
28 /**
29  * This class implements the dialog to modify the LaTeX preamble
30  */
31 class GLog : public GnomeCB<ControlLog> {
32 public:
33         ///
34         GLog(ControlLog & c);
35         ///
36         ~GLog();
37
38         void apply();
39         void update();
40         
41 private:
42         /// Build the dialog
43         void build();
44
45         /// Returns true if the dialog input is in a valid state.
46         bool validate() const;
47         
48         /// generated by accessors.py
49         Gtk::Button * refresh_btn() const;
50         /// generated by accessors.py
51         Gtk::Button * close_btn() const;
52         /// generated by accessors.py
53         Gtk::TextView * log_text() const;
54
55         
56 };
57
58 #endif