lyx_mirror/src/frontends/xforms/FormExternal.h

50 lines
933 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
#ifdef __GNUG__
#pragma interface
#endif
#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
void apply();
/// build the dialog
void build();
/// update the dialog
void update();
/// Filter the inputs on callback from xforms
ButtonPolicy::SMInput input(FL_OBJECT *, long);
///
void updateComboChange();
};
#endif // FORMEXTERNAL_H