lyx_mirror/src/frontends/xforms/FormInclude.h
Angus Leeming 833bd37843 various minor bits
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1834 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-27 10:44:14 +00:00

48 lines
1001 B
C++

// -*- C++ -*-
/**
* \file FormInclude.h
* Copyright 2001 the LyX Team
* See the file COPYING
*
* \author Alejandro Aguilar Sierra
* \author John Levon, moz@compsoc.man.ac.uk
* \author Angus Leeming <a.leeming@ic.ac.uk>
*/
#ifndef FORMINCLUDE_H
#define FORMINCLUDE_H
#ifdef __GNUG__
#pragma interface
#endif
#include "FormBase.h"
class ControlInclude;
struct FD_form_include;
/** This class provides an XForms implementation of the Include Dialog.
*/
class FormInclude : public FormCB<ControlInclude, FormDB<FD_form_include> > {
public:
///
FormInclude(ControlInclude &);
private:
/// Set the Params variable for the Controller.
virtual void apply();
/// Build the dialog
virtual void build();
/// Update dialog before showing it
virtual void update();
/// Filter the inputs on callback from xforms
virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
///
ButtonPolicy::SMInput inputBrowse();
/// Fdesign generated method
FD_form_include * build_include();
};
#endif