]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlShowFile.h
Really dull and boring header shit
[lyx.git] / src / frontends / controllers / ControlShowFile.h
1 // -*- C++ -*-
2 /**
3  * See the file COPYING.
4  *
5  * \file ControlShowFile.h
6  * \author Herbert Voss 
7  *
8  * Full author contact details are available in file CREDITS
9  */
10 #ifndef CONTROLSHOWFILE_H
11 #define CONTROLSHOWFILE_H
12
13 #ifdef __GNUG__
14 #pragma interface
15 #endif
16
17 #include "ControlDialog_impl.h"
18 #include "LString.h"
19
20 /** A controller for the ShowFile dialog. */
21
22 class ControlShowFile : public ControlDialogBI {
23 public:
24         ///
25         ControlShowFile(LyXView &, Dialogs &);
26         ///
27         virtual void showFile(string const &);
28         ///
29         string getFileContents();
30         ///
31         string getFileName();
32
33 private:
34         /// not needed.
35         virtual void apply() {}
36         ///
37         string filename_;
38 };
39
40 #endif // CONTROLSHOWFILE_H