* Licence details can be found in the file COPYING.
*
* \author John Levon
+ * \author Herbert Voß
*
* Full author contact details are available in file CREDITS.
*/
#define GUISHOWFILE_H
#include "GuiDialog.h"
-#include "ControlShowFile.h"
#include "ui_ShowFileUi.h"
+#include "support/FileName.h"
+
namespace lyx {
namespace frontend {
-class GuiShowFileDialog : public GuiDialog, public Ui::ShowFileUi
+class GuiShowFile : public GuiDialog, public Ui::ShowFileUi
{
Q_OBJECT
public:
- GuiShowFileDialog(LyXView & lv);
+ GuiShowFile(GuiView & lv);
private:
- ///
- void closeEvent(QCloseEvent * e);
- /// parent controller
- ControlShowFile & controller();
/// update
void updateContents();
+ ///
+ bool initialiseParams(std::string const & data);
+ ///
+ void clearParams();
+ ///
+ void dispatchParams() {}
+ ///
+ bool isBufferDependent() const { return false; }
+
+ ///
+ support::FileName filename_;
};
} // namespace frontend