]> git.lyx.org Git - lyx.git/blob - src/frontends/gtk/GLog.h
Change glob() API to accept a dir parameter.
[lyx.git] / src / frontends / gtk / GLog.h
1 // -*- C++ -*-
2 /**
3  * \file GLog.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 GLOG_H
13 #define GLOG_H
14
15 #include "GViewBase.h"
16
17 namespace lyx {
18 namespace frontend {
19
20 class ControlLog;
21
22 /**
23  * This class provides a GTK+ implementation of a dialog to browse through a
24  * log file.
25  */
26 class GLog : public GViewCB<ControlLog, GViewGladeB> {
27 public:
28         GLog(Dialog &);
29
30         // Create the dialog
31         virtual void doBuild();
32         // Set the Params variable for the Controller.
33         virtual void apply() {}
34         // Update dialog (load log into textbuffer)
35         virtual void update();
36
37         Glib::RefPtr<Gtk::TextBuffer> contentbuffer_;
38 };
39
40 } // namespace frontend
41 } // namespace lyx
42
43 #endif // GLOG_H