]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormSendto.h
Introduce LFUN_PRINT.
[lyx.git] / src / frontends / xforms / FormSendto.h
1 // -*- C++ -*-
2 /**
3  * \file FormSendto.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Angus Leeming
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef FORMSENDTO_H
13 #define FORMSENDTO_H
14
15 #include "FormDialogView.h"
16 #include <vector>
17
18 struct FD_sendto;
19 class ControlSendto;
20 class Format;
21
22 /** This class provides an XForms implementation of the Custom Export Dialog.
23  */
24 class FormSendto
25         : public FormController<ControlSendto, FormView<FD_sendto> > {
26 public:
27         ///
28         FormSendto(Dialog &);
29 private:
30         /// Apply from dialog (modify or create inset)
31         virtual void apply();
32         /// Build the dialog
33         virtual void build();
34         /// Update the dialog
35         virtual void update();
36         /// Filter the inputs on callback from xforms
37         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
38
39         std::vector<Format const *> all_formats_;
40 };
41
42 #endif // FORMSENDTO_H