]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormSendto.h
Yet more dialog tweaking from Rob.
[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 #ifdef __GNUG__
16 #pragma interface
17 #endif
18
19 #include "FormBase.h"
20 #include <vector>
21
22 class ControlSendto;
23 class Format;
24 struct FD_sendto;
25
26 /** This class provides an XForms implementation of the Custom Export Dialog.
27  */
28 class FormSendto : public FormCB<ControlSendto, FormDB<FD_sendto> > {
29 public:
30         ///
31         FormSendto();
32 private:
33         /// Apply from dialog (modify or create inset)
34         virtual void apply();
35         /// Build the dialog
36         virtual void build();
37         /// Update the dialog
38         virtual void update();
39         /// Filter the inputs on callback from xforms
40         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
41
42         std::vector<Format const *> all_formats_;
43 };
44
45 #endif // FORMSENDTO_H