]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlShowFile.h
to much stuff for my liking...
[lyx.git] / src / frontends / controllers / ControlShowFile.h
1 // -*- C++ -*-
2 /**
3  * Copyright 2001 The LyX Team.
4  * See the file COPYING.
5  *
6  * \file ControlShowFile.h
7  * \author Herbert Voss <voss@perce.de>
8  */
9 #ifndef CONTROLSHOWFILE_H
10 #define CONTROLSHOWFILE_H
11
12 #ifdef __GNUG__
13 #pragma interface
14 #endif
15
16 #include "ControlDialog_impl.h"
17
18 /** A controller for the ShowFile dialog. */
19
20 class ControlShowFile : public ControlDialogBI {
21 public:
22         ///
23         ControlShowFile(LyXView &, Dialogs &);
24         ///
25         virtual void showFile(string const &);
26         ///
27         string getFileContents();
28         ///
29         string getFileName();
30
31 private:
32         /// not needed.
33         virtual void apply() {}
34         ///
35         string filename_;
36 };
37
38 #endif // CONTROLSHOWFILE_H