mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-14 23:12:31 +00:00
44cd0fc9a1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7862 a592a061-630c-0410-9148-cb99ea01b6c8
47 lines
997 B
C++
47 lines
997 B
C++
// -*- C++ -*-
|
|
/**
|
|
* \file FormTexinfo.h
|
|
* This file is part of LyX, the document processor.
|
|
* Licence details can be found in the file COPYING.
|
|
*
|
|
* \author Herbert Voß
|
|
*
|
|
* Full author contact details are available in file CREDITS.
|
|
*/
|
|
|
|
#ifndef FORMTEXINFO_H
|
|
#define FORMTEXINFO_H
|
|
|
|
|
|
#include "FormDialogView.h"
|
|
#include "ControlTexinfo.h"
|
|
#include <map>
|
|
|
|
struct FD_texinfo;
|
|
|
|
class FormTexinfo
|
|
: public FormController<ControlTexinfo, FormView<FD_texinfo> > {
|
|
public:
|
|
///
|
|
FormTexinfo(Dialog &);
|
|
private:
|
|
/// not needed
|
|
virtual void apply() {}
|
|
/// Build the dialog.
|
|
virtual void build();
|
|
/// not needed
|
|
virtual void update() {}
|
|
/// Filter the inputs on callback from xforms
|
|
virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
|
|
///
|
|
void updateStyles(ControlTexinfo::texFileSuffix);
|
|
///
|
|
ControlTexinfo::texFileSuffix activeStyle;
|
|
|
|
///
|
|
typedef std::vector<std::string> ContentsType;
|
|
std::map<ControlTexinfo::texFileSuffix, ContentsType> texdata_;
|
|
};
|
|
|
|
#endif // FORMTEXINFO_H
|