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 #pragma implementation
17 #include "ControlShowFile.h"
19 #include "support/filetools.h" // FileSearch
22 ControlShowFile::ControlShowFile(LyXView & lv, Dialogs & d)
23 : ControlDialogBI(lv, d)
27 void ControlShowFile::showFile(string const & file)
34 string ControlShowFile::getFileContents()
36 return GetFileContents(filename_);
40 string ControlShowFile::getFileName()
42 return OnlyFilename(filename_);