2003-02-08 19:18:01 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
|
|
|
* \file FormChanges.h
|
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
*
|
|
|
|
* \author John Levon
|
|
|
|
*
|
2003-08-23 00:17:00 +00:00
|
|
|
* Full author contact details are available in file CREDITS.
|
2003-02-08 19:18:01 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef FORMCHANGES_H
|
|
|
|
#define FORMCHANGES_H
|
|
|
|
|
2003-03-09 21:03:43 +00:00
|
|
|
#include "FormDialogView.h"
|
2003-02-08 19:18:01 +00:00
|
|
|
|
|
|
|
class ControlChanges;
|
|
|
|
struct FD_changes;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* This class provides an XForms implementation of the Merge Changes Dialog.
|
|
|
|
*/
|
2003-03-09 21:03:43 +00:00
|
|
|
class FormChanges
|
|
|
|
: public FormController<ControlChanges, FormView<FD_changes> > {
|
2003-02-08 19:18:01 +00:00
|
|
|
public:
|
2003-03-09 21:03:43 +00:00
|
|
|
FormChanges(Dialog &);
|
2003-02-08 19:18:01 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
/// not needed.
|
|
|
|
virtual void apply() {}
|
|
|
|
/// Build the dialog
|
|
|
|
virtual void build();
|
|
|
|
/// update the dialog
|
|
|
|
virtual void update();
|
|
|
|
|
|
|
|
/// Filter the inputs
|
|
|
|
virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // FORMCHANGES_H
|