lyx_mirror/src/frontends/xforms/FormExternal.h

47 lines
923 B
C
Raw Normal View History

// -*- C++ -*-
/**
* \file FormExternal.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Asger Alstrup Nielsen
* \author John Levon
* \author Angus Leeming
*
* Full author contact details are available in file CREDITS
*/
#ifndef FORMEXTERNAL_H
#define FORMEXTERNAL_H
#include "FormBase.h"
#include "insets/insetexternal.h"
class ControlExternal;
struct FD_external;
/// The class for editing External insets via a dialog
class FormExternal : public FormCB<ControlExternal, FormDB<FD_external> > {
public:
///
FormExternal();
private:
/// apply changes
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);
///
void updateComboChange();
};
#endif // FORMEXTERNAL_H