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"
20 using support::GetFileContents;
21 using support::OnlyFilename;
26 ControlShowFile::ControlShowFile(Dialog & parent)
27 : Dialog::Controller(parent)
31 bool ControlShowFile::initialiseParams(string const & data)
38 void ControlShowFile::clearParams()
44 string ControlShowFile::getFileContents()
46 return GetFileContents(filename_);
50 string ControlShowFile::getFileName()
52 return OnlyFilename(filename_);
55 } // namespace frontend