]> git.lyx.org Git - lyx.git/blobdiff - src/LayoutModuleList.h
Fix the synchronous export functionality
[lyx.git] / src / LayoutModuleList.h
index d2a3efc181f28a38a16273e194086d3bba54d1d4..245b6a7e693bd54ba3d77080559cade71c0baf2e 100644 (file)
@@ -19,6 +19,12 @@ namespace lyx {
 
 class LayoutFile;
 
+/**
+       Represents a list of modules, such as might be associated with 
+       a particular document. Provides methods for adding modules, checking
+       if a module can be added, and, importantly, adapting the list to a 
+       new DocumentClass.
+*/
 class LayoutModuleList {
 public:
        ///
@@ -65,7 +71,7 @@ public:
        /// \return true if no changes had to be made, false if some did have
        /// to be made.
        bool adaptToBaseClass(LayoutFile const * const lay,
-                       std::list<std::string> removedModules);
+                       std::list<std::string> const & removedModules);
 private:
        /// Removes modules excluded by, provided by, etc, the base class.
        /// \param lay The document class against which to check.