]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormForks.h
remove defaults stuff, let Qt handle no toolbar
[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
16 #include "FormBase.h"
17
18 class ControlForks;
19 struct FD_forks;
20
21 class FormForks : public FormCB<ControlForks, FormDB<FD_forks> > {
22 public:
23         ///
24         FormForks();
25
26         /// preemptive handler for feedback messages
27         void feedbackCB(FL_OBJECT *, int);
28
29 private:
30         /// Return the list of PIDs to kill to the controller.
31         virtual void apply();
32         /// Build the dialog.
33         virtual void build();
34         /// Update the dialog.
35         virtual void update();
36         /// Filter the inputs on callback from xforms
37         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
38
39         ButtonPolicy::SMInput input_browser_children();
40         ButtonPolicy::SMInput input_browser_kill();
41         ButtonPolicy::SMInput input_button_all();
42         ButtonPolicy::SMInput input_button_add();
43         ButtonPolicy::SMInput input_button_remove();
44 };
45
46 #endif // FORMFORKS_H