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:
///
/// \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.