]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormTexinfo.h
remove defaults stuff, let Qt handle no toolbar
[lyx.git] / src / frontends / xforms / FormTexinfo.h
index e956b9a9640fb2957739422a156ff1b6f343b6aa..017555acd9a069ad899e5f4a8fd09a69484e06c8 100644 (file)
@@ -1,34 +1,27 @@
 // -*- 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 Voss
+ *
+ * Full author contact details are available in file CREDITS
  */
 
 #ifndef FORMTEXINFO_H
 #define FORMTEXINFO_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 #include "FormBase.h"
+#include "ControlTexinfo.h"
 
-class ControlTexinfo;
-struct FD_form_texinfo;
+struct FD_texinfo;
 
-class FormTexinfo : public FormCB<ControlTexinfo, FormDB<FD_form_texinfo> > {
+class FormTexinfo : public FormCB<ControlTexinfo, FormDB<FD_texinfo> > {
 public:
        ///
-       FormTexinfo(ControlTexinfo &);
-       /// the file extensions
-       enum texFileSuffix {cls, sty, bst};
-
-       /// preemptive handler for feedback messages
-       void feedbackCB(FL_OBJECT *, int);
-
+       FormTexinfo();
 private:
        /// not needed
        virtual void apply() {}
@@ -39,15 +32,9 @@ private:
        /// Filter the inputs on callback from xforms
        virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
        ///
-       void feedback(FL_OBJECT *);
-       ///
-       void updateStyles(texFileSuffix);
-       /// Fdesign generated method
-       FD_form_texinfo * build_texinfo();
-       ///
-       bool warningPosted;
+       void updateStyles(ControlTexinfo::texFileSuffix);
        ///
-       texFileSuffix activeStyle;
+       ControlTexinfo::texFileSuffix activeStyle;
 };
 
 #endif // FORMTEXINFO_H