2 * \file ControlShowFile.C
3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
8 * Full author contact details are available in file CREDITS
14 #include "ControlShowFile.h"
16 #include "support/filetools.h" // FileSearch
19 ControlShowFile::ControlShowFile(LyXView & lv, Dialogs & d)
20 : ControlDialogBI(lv, d)
24 void ControlShowFile::showFile(string const & file)
31 string ControlShowFile::getFileContents()
33 return GetFileContents(filename_);
37 string ControlShowFile::getFileName()
39 return OnlyFilename(filename_);