]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlShowFile.h
Add a buffer_path arg to InsetGraphicsMailer's params2string, string2params.
[lyx.git] / src / frontends / controllers / ControlShowFile.h
1 // -*- C++ -*-
2 /**
3  * This file is part of LyX, the document processor.
4  * Licence details can be found in the file COPYING.
5  *
6  * \file ControlShowFile.h
7  *
8  * \author Herbert Voss
9  *
10  * Full author contact details are available in file CREDITS
11  */
12 #ifndef CONTROLSHOWFILE_H
13 #define CONTROLSHOWFILE_H
14
15 #include "Dialog.h"
16
17 /** A controller for the ShowFile dialog. */
18
19 class ControlShowFile : public Dialog::Controller {
20 public:
21         ///
22         ControlShowFile(Dialog &);
23         ///
24         virtual bool initialiseParams(string const & data);
25         ///
26         virtual void clearParams();
27         ///
28         virtual void dispatchParams() {}
29         ///
30         virtual bool isBufferDependent() const { return false; }
31         ///
32         string getFileContents();
33         ///
34         string getFileName();
35
36 private:
37         ///
38         string filename_;
39 };
40
41 #endif // CONTROLSHOWFILE_H