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 #include "support/FileName.h"
22 /** A controller for the ShowFile dialog. */
24 class ControlShowFile : public Dialog::Controller {
27 ControlShowFile(Dialog &);
29 virtual bool initialiseParams(std::string const & data);
31 virtual void clearParams();
33 virtual void dispatchParams() {}
35 virtual bool isBufferDependent() const { return false; }
37 std::string getFileContents();
39 std::string getFileName();
43 support::FileName filename_;
46 } // namespace frontend
49 #endif // CONTROLSHOWFILE_H