2 * \file ControlShowFile.C
3 * See the file COPYING.
7 * Full author contact details are available in file CREDITS
13 #pragma implementation
16 #include "ControlShowFile.h"
18 #include "support/filetools.h" // FileSearch
21 ControlShowFile::ControlShowFile(LyXView & lv, Dialogs & d)
22 : ControlDialogBI(lv, d)
26 void ControlShowFile::showFile(string const & file)
33 string ControlShowFile::getFileContents()
35 return GetFileContents(filename_);
39 string ControlShowFile::getFileName()
41 return OnlyFilename(filename_);