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