]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormSendto.h
change some __GNUG_ to __GNUG__
[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_form_sendto;
23
24 /** This class provides an XForms implementation of the Custom Export Dialog.
25  */
26 class FormSendto : public FormCB<ControlSendto, FormDB<FD_form_sendto> > {
27 public:
28         ///
29         FormSendto(ControlSendto &);
30
31 private:
32         /// Apply from dialog (modify or create inset)
33         virtual void apply();
34         /// Build the dialog
35         virtual void build();
36         /// Update the dialog
37         virtual void update();
38         /// Filter the inputs on callback from xforms
39         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
40
41         /// Fdesign generated method
42         FD_form_sendto * build_sendto();
43
44         std::vector<Format const *> all_formats_;
45 };
46
47 #endif // FORMSENDTO_H