mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-15 07:16:48 +00:00
48 lines
948 B
C
48 lines
948 B
C
|
// -*- C++ -*-
|
||
|
/*
|
||
|
* \file FormSendto.h
|
||
|
* Copyright 2002 the LyX Team
|
||
|
* Read the file COPYING
|
||
|
*
|
||
|
* \author Angus Leeming <a.leeming@ic.ac.uk>
|
||
|
*/
|
||
|
|
||
|
#ifndef FORMSENDTO_H
|
||
|
#define FORMSENDTO_H
|
||
|
|
||
|
#ifdef __GNUG__
|
||
|
#pragma interface
|
||
|
#endif
|
||
|
|
||
|
#include "FormBase.h"
|
||
|
#include <vector>
|
||
|
|
||
|
class ControlSendto;
|
||
|
class Format;
|
||
|
struct FD_form_sendto;
|
||
|
|
||
|
/** This class provides an XForms implementation of the Custom Export Dialog.
|
||
|
*/
|
||
|
class FormSendto : public FormCB<ControlSendto, FormDB<FD_form_sendto> > {
|
||
|
public:
|
||
|
///
|
||
|
FormSendto(ControlSendto &);
|
||
|
|
||
|
private:
|
||
|
/// Apply from dialog (modify or create inset)
|
||
|
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);
|
||
|
|
||
|
/// Fdesign generated method
|
||
|
FD_form_sendto * build_sendto();
|
||
|
|
||
|
std::vector<Format const *> all_formats_;
|
||
|
};
|
||
|
|
||
|
#endif // FORMSENDTO_H
|