]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlShowFile.h
fix tooltips in toolbar
[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 #include "LString.h"
18
19 /** A controller for the ShowFile dialog. */
20
21 class ControlShowFile : public ControlDialogBI {
22 public:
23         ///
24         ControlShowFile(LyXView &, Dialogs &);
25         ///
26         virtual void showFile(string const &);
27         ///
28         string getFileContents();
29         ///
30         string getFileName();
31
32 private:
33         /// not needed.
34         virtual void apply() {}
35         ///
36         string filename_;
37 };
38
39 #endif // CONTROLSHOWFILE_H