]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlShowFile.h
more unicode filenames
[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  *
8  * \author Herbert Voß
9  *
10  * Full author contact details are available in file CREDITS.
11  */
12 #ifndef CONTROLSHOWFILE_H
13 #define CONTROLSHOWFILE_H
14
15 #include "Dialog.h"
16
17 #include "support/filename.h"
18
19 namespace lyx {
20 namespace frontend {
21
22 /** A controller for the ShowFile dialog. */
23
24 class ControlShowFile : public Dialog::Controller {
25 public:
26         ///
27         ControlShowFile(Dialog &);
28         ///
29         virtual bool initialiseParams(std::string const & data);
30         ///
31         virtual void clearParams();
32         ///
33         virtual void dispatchParams() {}
34         ///
35         virtual bool isBufferDependent() const { return false; }
36         ///
37         std::string getFileContents();
38         ///
39         std::string getFileName();
40
41 private:
42         ///
43         support::FileName filename_;
44 };
45
46 } // namespace frontend
47 } // namespace lyx
48
49 #endif // CONTROLSHOWFILE_H