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