lyx_mirror/src/frontends/controllers/ControlShowFile.h
Angus Leeming e154cde323 Add LString.h to ControlShowFile.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3675 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-06 12:06:34 +00:00

40 lines
660 B
C++

// -*- C++ -*-
/**
* Copyright 2001 The LyX Team.
* See the file COPYING.
*
* \file ControlShowFile.h
* \author Herbert Voss <voss@perce.de>
*/
#ifndef CONTROLSHOWFILE_H
#define CONTROLSHOWFILE_H
#ifdef __GNUG__
#pragma interface
#endif
#include "ControlDialog_impl.h"
#include "LString.h"
/** A controller for the ShowFile dialog. */
class ControlShowFile : public ControlDialogBI {
public:
///
ControlShowFile(LyXView &, Dialogs &);
///
virtual void showFile(string const &);
///
string getFileContents();
///
string getFileName();
private:
/// not needed.
virtual void apply() {}
///
string filename_;
};
#endif // CONTROLSHOWFILE_H