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 lyx::support::GetFileContents;
17 using lyx::support::OnlyFilename;
20 ControlShowFile::ControlShowFile(Dialog & parent)
21 : Dialog::Controller(parent)
25 bool ControlShowFile::initialiseParams(string const & data)
32 void ControlShowFile::clearParams()
38 string ControlShowFile::getFileContents()
40 return GetFileContents(filename_);
44 string ControlShowFile::getFileName()
46 return OnlyFilename(filename_);