]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/controllers/ControlShowFile.h
Add a buffer_path arg to InsetGraphicsMailer's params2string, string2params.
[lyx.git] / src / frontends / controllers / ControlShowFile.h
index 19e8171228ba9569385fa0cb7cc428fd38acff93..1a971e4141e6bf000be7b418b8b3adeacf365790 100644 (file)
@@ -4,6 +4,7 @@
  * Licence details can be found in the file COPYING.
  *
  * \file ControlShowFile.h
+ *
  * \author Herbert Voss
  *
  * Full author contact details are available in file CREDITS
 #ifndef CONTROLSHOWFILE_H
 #define CONTROLSHOWFILE_H
 
-
-#include "ControlDialog_impl.h"
-#include "LString.h"
+#include "Dialog.h"
 
 /** A controller for the ShowFile dialog. */
 
-class ControlShowFile : public ControlDialogBI {
+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_;
 };