2001-03-15 13:37:04 +00:00
|
|
|
// -*- C++ -*-
|
2001-02-12 14:09:09 +00:00
|
|
|
/**
|
|
|
|
* \file FormInclude.h
|
|
|
|
* Copyright 2001 the LyX Team
|
|
|
|
* See the file COPYING
|
|
|
|
*
|
|
|
|
* \author Alejandro Aguilar Sierra
|
2001-03-23 17:09:34 +00:00
|
|
|
* \author John Levon, moz@compsoc.man.ac.uk
|
2002-08-15 16:02:22 +00:00
|
|
|
* \author Angus Leeming <leeming@lyx.org>
|
2001-02-12 14:09:09 +00:00
|
|
|
*/
|
|
|
|
#ifndef FORMINCLUDE_H
|
|
|
|
#define FORMINCLUDE_H
|
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface
|
|
|
|
#endif
|
|
|
|
|
2001-03-23 17:09:34 +00:00
|
|
|
#include "FormBase.h"
|
2001-02-12 14:09:09 +00:00
|
|
|
|
2001-03-23 17:09:34 +00:00
|
|
|
class ControlInclude;
|
2002-06-13 13:43:51 +00:00
|
|
|
struct FD_include;
|
2001-02-12 14:09:09 +00:00
|
|
|
|
2001-03-23 17:09:34 +00:00
|
|
|
/** This class provides an XForms implementation of the Include Dialog.
|
2001-02-12 14:09:09 +00:00
|
|
|
*/
|
2002-06-13 13:43:51 +00:00
|
|
|
class FormInclude : public FormCB<ControlInclude, FormDB<FD_include> > {
|
2001-02-12 14:09:09 +00:00
|
|
|
public:
|
|
|
|
///
|
2002-08-12 14:28:43 +00:00
|
|
|
FormInclude();
|
2001-03-23 17:09:34 +00:00
|
|
|
private:
|
|
|
|
/// Set the Params variable for the Controller.
|
|
|
|
virtual void apply();
|
2001-02-12 14:09:09 +00:00
|
|
|
/// Build the dialog
|
|
|
|
virtual void build();
|
|
|
|
/// Update dialog before showing it
|
|
|
|
virtual void update();
|
2001-03-23 17:09:34 +00:00
|
|
|
/// Filter the inputs on callback from xforms
|
|
|
|
virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
|
2001-02-12 14:09:09 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|