lyx_mirror/src/frontends/xforms/FormTexinfo.h
Lars Gullik Bjønnes 44cd0fc9a1 The std::string mammoth path.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7862 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-06 15:43:21 +00:00

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