]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormForks.h
Really dull and boring header shit
[lyx.git] / src / frontends / xforms / FormForks.h
1 // -*- C++ -*-
2 /**
3  * \file FormForks.h
4  * Read the file COPYING
5  *
6  * \author Angus Leeming 
7  *
8  * Full author contact details are available in file CREDITS
9  */
10
11 #ifndef FORMFORKS_H
12 #define FORMFORKS_H
13
14 #ifdef __GNUG__
15 #pragma interface
16 #endif
17
18 #include "FormBase.h"
19
20 class ControlForks;
21 struct FD_forks;
22
23 class FormForks : public FormCB<ControlForks, FormDB<FD_forks> > {
24 public:
25         ///
26         FormForks();
27
28         /// preemptive handler for feedback messages
29         void feedbackCB(FL_OBJECT *, int);
30
31 private:
32         /// Return the list of PIDs to kill to the controller.
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         ButtonPolicy::SMInput input_browser_children();
42         ButtonPolicy::SMInput input_browser_kill();
43         ButtonPolicy::SMInput input_button_all();
44         ButtonPolicy::SMInput input_button_add();
45         ButtonPolicy::SMInput input_button_remove();
46 };
47
48 #endif // FORMFORKS_H