2003-08-17 11:28:23 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
|
|
|
* \file FormBranch.h
|
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
*
|
|
|
|
* \author Martin Vermeer
|
|
|
|
*
|
2003-08-23 00:17:00 +00:00
|
|
|
* Full author contact details are available in file CREDITS.
|
2003-08-17 11:28:23 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef FORMBRANCH_H
|
|
|
|
#define FORMBRANCH_H
|
|
|
|
|
|
|
|
|
|
|
|
#include "FormDialogView.h"
|
|
|
|
|
|
|
|
|
|
|
|
class ControlBranch;
|
|
|
|
struct FD_branch;
|
|
|
|
|
|
|
|
/** This class provides an XForms implementation of the Branch Dialog.
|
|
|
|
*/
|
|
|
|
class FormBranch : public FormController<ControlBranch, FormView<FD_branch> > {
|
|
|
|
public:
|
|
|
|
/// Constructor
|
|
|
|
FormBranch(Dialog &);
|
|
|
|
private:
|
2003-09-09 18:27:24 +00:00
|
|
|
///
|
2003-08-17 11:28:23 +00:00
|
|
|
virtual void apply();
|
|
|
|
/// Build the dialog
|
|
|
|
virtual void build();
|
|
|
|
/// Update dialog before showing it
|
|
|
|
virtual void update();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // FORMBRANCH_H
|