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
20 /** A controller for the ShowFile dialog. */
22 class ControlShowFile : public Dialog::Controller {
25 ControlShowFile(Dialog &);
27 virtual bool initialiseParams(std::string const & data);
29 virtual void clearParams();
31 virtual void dispatchParams() {}
33 virtual bool isBufferDependent() const { return false; }
35 std::string getFileContents();
37 std::string getFileName();
41 std::string filename_;
44 } // namespace frontend
47 #endif // CONTROLSHOWFILE_H