]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormForks.h
The graphics inset now has:
[lyx.git] / src / frontends / xforms / FormForks.h
1 // -*- C++ -*-
2 /**
3  * \file FormForks.h
4  * Copyright 2001 the LyX Team
5  * Read the file COPYING
6  *
7  * \author Angus Leeming
8  */
9
10 #ifndef FORMFORKS_H
11 #define FORMFORKS_H
12
13 #ifdef __GNUG__
14 #pragma interface
15 #endif
16
17 #include "FormBase.h"
18
19 struct FD_form_forks;
20 class ControlForks;
21
22 class FormForks : public FormCB<ControlForks, FormDB<FD_form_forks> > {
23 public:
24         ///
25         FormForks(ControlForks &);
26
27         /// preemptive handler for feedback messages
28         void feedbackCB(FL_OBJECT *, int);
29
30 private:
31         /// Return the list of PIDs to kill to the controller.
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         /// tooltips
40         string const getVerboseTooltip(FL_OBJECT const * ob) const;
41         /// Fdesign generated method
42         FD_form_forks * build_forks();
43
44         ButtonPolicy::SMInput input_browser_children();
45         ButtonPolicy::SMInput input_browser_kill();
46         ButtonPolicy::SMInput input_button_all();
47         ButtonPolicy::SMInput input_button_add();
48         ButtonPolicy::SMInput input_button_remove();
49 };
50
51 #endif // FORMFORKS_H