]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormTexinfo.h
Change glob() API to accept a dir parameter.
[lyx.git] / src / frontends / xforms / FormTexinfo.h
index a42fe75c527558d0ba7d83d6d3815116d6c4d8a4..a5c76cf1c1b85f1f67fda80523c4467317147abf 100644 (file)
@@ -1,29 +1,31 @@
 // -*- 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;
+namespace lyx {
+namespace frontend {
 
-class FormTexinfo : public FormCB<ControlTexinfo, FormDB<FD_form_texinfo> > {
+struct FD_texinfo;
+
+class FormTexinfo
+       : public FormController<ControlTexinfo, FormView<FD_texinfo> > {
 public:
        ///
-       FormTexinfo(ControlTexinfo &);
-
+       FormTexinfo(Dialog &);
 private:
        /// not needed
        virtual void apply() {}
@@ -35,10 +37,15 @@ private:
        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_;
 };
 
+} // namespace frontend
+} // namespace lyx
+
 #endif // FORMTEXINFO_H