]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormForks.h
fix crash with "save as"
[lyx.git] / src / frontends / xforms / FormForks.h
1 // -*- C++ -*-
2 /**
3  * \file FormForks.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 FORMFORKS_H
13 #define FORMFORKS_H
14
15 #ifdef __GNUG__
16 #pragma interface
17 #endif
18
19 #include "FormBase.h"
20
21 class ControlForks;
22 struct FD_forks;
23
24 class FormForks : public FormCB<ControlForks, FormDB<FD_forks> > {
25 public:
26         ///
27         FormForks();
28
29         /// preemptive handler for feedback messages
30         void feedbackCB(FL_OBJECT *, int);
31
32 private:
33         /// Return the list of PIDs to kill to the controller.
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         ButtonPolicy::SMInput input_browser_children();
43         ButtonPolicy::SMInput input_browser_kill();
44         ButtonPolicy::SMInput input_button_all();
45         ButtonPolicy::SMInput input_button_add();
46         ButtonPolicy::SMInput input_button_remove();
47 };
48
49 #endif // FORMFORKS_H