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"
17 using lyx::support::GetFileContents;
18 using lyx::support::OnlyFilename;
23 ControlShowFile::ControlShowFile(Dialog & parent)
24 : Dialog::Controller(parent)
28 bool ControlShowFile::initialiseParams(string const & data)
35 void ControlShowFile::clearParams()
41 string ControlShowFile::getFileContents()
43 return GetFileContents(filename_);
47 string ControlShowFile::getFileName()
49 return OnlyFilename(filename_);