3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
6 * \file ControlShowFile.h
10 * Full author contact details are available in file CREDITS.
12 #ifndef CONTROLSHOWFILE_H
13 #define CONTROLSHOWFILE_H
17 /** A controller for the ShowFile dialog. */
19 class ControlShowFile : public Dialog::Controller {
22 ControlShowFile(Dialog &);
24 virtual bool initialiseParams(std::string const & data);
26 virtual void clearParams();
28 virtual void dispatchParams() {}
30 virtual bool isBufferDependent() const { return false; }
32 std::string getFileContents();
34 std::string getFileName();
38 std::string filename_;
41 #endif // CONTROLSHOWFILE_H