// -*- C++ -*-
/**
- * Copyright 2001 The LyX Team.
- * See the file COPYING.
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
*
* \file ControlShowFile.h
- * \author Herbert Voss <voss@perce.de>
+ *
+ * \author Herbert Voss
+ *
+ * Full author contact details are available in file CREDITS
*/
#ifndef CONTROLSHOWFILE_H
#define CONTROLSHOWFILE_H
-#ifdef __GNUG__
-#pragma interface
-#endif
-
-#include "ControlDialogs.h"
+#include "Dialog.h"
/** A controller for the ShowFile dialog. */
-class ControlShowFile : public ControlDialog<ControlConnectBI> {
+class ControlShowFile : public Dialog::Controller {
public:
///
- ControlShowFile(LyXView &, Dialogs &);
+ ControlShowFile(Dialog &);
+ ///
+ virtual bool initialiseParams(string const & data);
+ ///
+ virtual void clearParams();
+ ///
+ virtual void dispatchParams() {}
///
- virtual void showFile(string const &);
+ virtual bool isBufferDependent() const { return false; }
///
string getFileContents();
///
string getFileName();
private:
- /// not needed.
- virtual void apply() {}
///
string filename_;
};