mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 05:33:33 +00:00
e154cde323
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3675 a592a061-630c-0410-9148-cb99ea01b6c8
40 lines
660 B
C++
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
|