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
13 #include "ControlShowFile.h"
14 #include "support/filetools.h"
16 using namespace lyx::support;
19 ControlShowFile::ControlShowFile(Dialog & parent)
20 : Dialog::Controller(parent)
24 bool ControlShowFile::initialiseParams(string const & data)
31 void ControlShowFile::clearParams()
37 string ControlShowFile::getFileContents()
39 return GetFileContents(filename_);
43 string ControlShowFile::getFileName()
45 return OnlyFilename(filename_);