]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormForks.h
(John): translate dialog titles.
[lyx.git] / src / frontends / xforms / FormForks.h
1 // -*- C++ -*-
2 /**
3  * \file FormForks.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 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
40         /// Fdesign generated method
41         FD_form_forks * build_forks();
42
43         ButtonPolicy::SMInput input_browser_children();
44         ButtonPolicy::SMInput input_browser_kill();
45         ButtonPolicy::SMInput input_button_all();
46         ButtonPolicy::SMInput input_button_add();
47         ButtonPolicy::SMInput input_button_remove();
48 };
49
50 #endif // FORMFORKS_H