mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 21:49:51 +00:00
0c2a3e5960
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2118 a592a061-630c-0410-9148-cb99ea01b6c8
57 lines
1.1 KiB
C++
57 lines
1.1 KiB
C++
// -*- C++ -*-
|
|
/* This file is part of
|
|
* ======================================================
|
|
*
|
|
* LyX, The Document Processor
|
|
*
|
|
* Copyright 2000-2001 The LyX Team.
|
|
*
|
|
* ======================================================
|
|
*
|
|
* \file FormExternal.h
|
|
* \author Asger Alstrup
|
|
* \author John Levon
|
|
* \author Angus Leeming, a.leeming@ic.ac.uk
|
|
*/
|
|
|
|
#ifndef FORMEXTERNAL_H
|
|
#define FORMEXTERNAL_H
|
|
|
|
#ifdef __GNUG__
|
|
#pragma interface
|
|
#endif
|
|
|
|
#include "FormBase.h"
|
|
#include "insets/insetexternal.h"
|
|
|
|
class ControlExternal;
|
|
struct FD_form_external;
|
|
|
|
/// The class for editing External insets via a dialog
|
|
class FormExternal : public FormCB<ControlExternal, FormDB<FD_form_external> > {
|
|
public:
|
|
///
|
|
FormExternal(ControlExternal &);
|
|
|
|
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();
|
|
|
|
/// Fdesign generated method
|
|
FD_form_external * build_external();
|
|
};
|
|
|
|
#endif // FORMEXTERNAL_H
|