2002-02-27 09:59:52 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
|
|
|
* \file FormForks.h
|
2002-03-11 17:00:41 +00:00
|
|
|
* Copyright 2002 the LyX Team
|
2002-02-27 09:59:52 +00:00
|
|
|
* Read the file COPYING
|
|
|
|
*
|
2002-03-11 17:00:41 +00:00
|
|
|
* \author Angus Leeming, a.leeming@ic.ac.uk
|
2002-02-27 09:59:52 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef FORMFORKS_H
|
|
|
|
#define FORMFORKS_H
|
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "FormBase.h"
|
|
|
|
|
|
|
|
class ControlForks;
|
2002-06-13 13:43:51 +00:00
|
|
|
struct FD_forks;
|
2002-02-27 09:59:52 +00:00
|
|
|
|
2002-06-13 13:43:51 +00:00
|
|
|
class FormForks : public FormCB<ControlForks, FormDB<FD_forks> > {
|
2002-02-27 09:59:52 +00:00
|
|
|
public:
|
|
|
|
///
|
2002-07-02 19:23:10 +00:00
|
|
|
FormForks(ControlForks &, Dialogs &);
|
2002-02-27 09:59:52 +00:00
|
|
|
|
|
|
|
/// preemptive handler for feedback messages
|
|
|
|
void feedbackCB(FL_OBJECT *, int);
|
|
|
|
|
|
|
|
private:
|
|
|
|
/// Return the list of PIDs to kill to the controller.
|
|
|
|
virtual void apply();
|
|
|
|
/// Build the dialog.
|
|
|
|
virtual void build();
|
|
|
|
/// Update the dialog.
|
|
|
|
virtual void update();
|
|
|
|
/// Filter the inputs on callback from xforms
|
|
|
|
virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
|
2002-03-11 09:54:42 +00:00
|
|
|
|
2002-02-27 09:59:52 +00:00
|
|
|
ButtonPolicy::SMInput input_browser_children();
|
|
|
|
ButtonPolicy::SMInput input_browser_kill();
|
|
|
|
ButtonPolicy::SMInput input_button_all();
|
|
|
|
ButtonPolicy::SMInput input_button_add();
|
|
|
|
ButtonPolicy::SMInput input_button_remove();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // FORMFORKS_H
|