]> git.lyx.org Git - features.git/blobdiff - src/LayoutFile.h
InsetIndex: hide printTree behind a LYX_INSET_INDEX_DEBUG flag
[features.git] / src / LayoutFile.h
index fe865322667ed83b3500ba7af7d1a13aaaf0f781..87548187edc9ba626af9ea70fb9a95d9b7a01f7d 100644 (file)
@@ -5,7 +5,7 @@
  * Licence details can be found in the file COPYING.
  *
  * \author Lars Gullik Bjønnes
- * \author Richard Heck (typedefs and such)
+ * \author Richard Kimberly Heck (typedefs and such)
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -13,7 +13,6 @@
 #ifndef BASECLASSLIST_H
 #define BASECLASSLIST_H
 
-#include "LayoutModuleList.h"
 #include "TextClass.h"
 
 #include "support/strfwd.h"
@@ -24,6 +23,8 @@
 
 namespace lyx {
 
+class LayoutModuleList;
+
 /// Index into LayoutFileList. Basically a 'strong typedef'.
 class LayoutFileIndex {
 public:
@@ -106,7 +107,7 @@ public:
        /// Read textclass list. Returns false if this fails.
        bool read();
        /// Clears the textclass so as to force it to be reloaded
-       void reset(LayoutFileIndex const & tc);
+       void reset(LayoutFileIndex const & classname);
 
        /// Add a default textclass with all standard layouts.
        /// Note that this will over-write any information we may have