// -*- C++ -*-
/**
* \file FormTexinfo.h
- * Copyright 2001 the LyX Team
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
*
- * \author Herbert Voss, voss@perce.de
+ * \author Herbert Voß
+ *
+ * Full author contact details are available in file CREDITS.
*/
#ifndef FORMTEXINFO_H
#define FORMTEXINFO_H
-#ifdef __GNUG__
-#pragma interface
-#endif
-#include "FormBase.h"
+#include "FormDialogView.h"
#include "ControlTexinfo.h"
+#include <map>
-struct FD_form_texinfo;
+struct FD_texinfo;
-class FormTexinfo : public FormCB<ControlTexinfo, FormDB<FD_form_texinfo> > {
+class FormTexinfo
+ : public FormController<ControlTexinfo, FormView<FD_texinfo> > {
public:
///
- FormTexinfo(ControlTexinfo &);
-
+ FormTexinfo(Dialog &);
private:
/// not needed
virtual void apply() {}
virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
///
void updateStyles(ControlTexinfo::texFileSuffix);
- /// Fdesign generated method
- FD_form_texinfo * build_texinfo();
///
ControlTexinfo::texFileSuffix activeStyle;
+
+ ///
+ typedef std::vector<std::string> ContentsType;
+ std::map<ControlTexinfo::texFileSuffix, ContentsType> texdata_;
};
#endif // FORMTEXINFO_H