]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormSendto.h
fix tooltips in toolbar
[lyx.git] / src / frontends / xforms / FormSendto.h
1 // -*- C++ -*-
2 /*
3  * \file FormSendto.h
4  * Copyright 2002 the LyX Team
5  * Read the file COPYING
6  *
7  * \author Angus Leeming, a.leeming@ic.ac.uk
8  */
9
10 #ifndef FORMSENDTO_H
11 #define FORMSENDTO_H
12
13 #ifdef __GNUG__
14 #pragma interface
15 #endif
16
17 #include "FormBase.h"
18 #include <vector>
19
20 class ControlSendto;
21 class Format;
22 struct FD_sendto;
23
24 /** This class provides an XForms implementation of the Custom Export Dialog.
25  */
26 class FormSendto : public FormCB<ControlSendto, FormDB<FD_sendto> > {
27 public:
28         ///
29         FormSendto(ControlSendto &, Dialogs &);
30 private:
31         /// Apply from dialog (modify or create inset)
32         virtual void apply();
33         /// Build the dialog
34         virtual void build();
35         /// Update the dialog
36         virtual void update();
37         /// Filter the inputs on callback from xforms
38         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
39
40         std::vector<Format const *> all_formats_;
41 };
42
43 #endif // FORMSENDTO_H