2 * \file ControlShowFile.C
3 * Copyright 2001 The LyX Team.
4 * See the file COPYING.
6 * \author Herbert Voss <voss@perce.de>
12 #pragma implementation
15 #include "ControlShowFile.h"
17 #include "support/filetools.h" // FileSearch
20 ControlShowFile::ControlShowFile(LyXView & lv, Dialogs & d)
21 : ControlDialogBI(lv, d)
25 void ControlShowFile::showFile(string const & file)
32 string ControlShowFile::getFileContents()
34 return GetFileContents(filename_);
38 string ControlShowFile::getFileName()
40 return OnlyFilename(filename_);