mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-23 08:39:07 +00:00
1e3d2fce7f
GUI now contains a controller rather than derives from a controller. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4942 a592a061-630c-0410-9148-cb99ea01b6c8
48 lines
1010 B
C++
48 lines
1010 B
C++
// -*- C++ -*-
|
|
/**
|
|
* \file FormForks.h
|
|
* Copyright 2002 the LyX Team
|
|
* Read the file COPYING
|
|
*
|
|
* \author Angus Leeming, a.leeming@ic.ac.uk
|
|
*/
|
|
|
|
#ifndef FORMFORKS_H
|
|
#define FORMFORKS_H
|
|
|
|
#ifdef __GNUG__
|
|
#pragma interface
|
|
#endif
|
|
|
|
#include "FormBase.h"
|
|
|
|
class ControlForks;
|
|
struct FD_forks;
|
|
|
|
class FormForks : public FormCB<ControlForks, FormDB<FD_forks> > {
|
|
public:
|
|
///
|
|
FormForks();
|
|
|
|
/// 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);
|
|
|
|
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
|