]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormSendto.h
Change glob() API to accept a dir parameter.
[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 class Format;
19
20 namespace lyx {
21 namespace frontend {
22
23 class ControlSendto;
24 struct FD_sendto;
25
26 /** This class provides an XForms implementation of the Custom Export Dialog.
27  */
28 class FormSendto
29         : public FormController<ControlSendto, FormView<FD_sendto> > {
30 public:
31         ///
32         FormSendto(Dialog &);
33 private:
34         /// Apply from dialog (modify or create inset)
35         virtual void apply();
36         /// Build the dialog
37         virtual void build();
38         /// Update the dialog
39         virtual void update();
40         /// Filter the inputs on callback from xforms
41         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
42
43         std::vector<Format const *> all_formats_;
44 };
45
46 } // namespace frontend
47 } // namespace lyx
48
49 #endif // FORMSENDTO_H