// -*- C++ -*-
/**
- * \file ModuleList.cpp
+ * \file LayoutModuleList.cpp
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author Richard Heck
+ * \author Richard Kimberly Heck
*
* Full author contact details are available in file CREDITS.
*/
}
+string LayoutModuleList::asString() const
+{
+ string mods;
+ for (auto const & mod : lml_)
+ mods += mod + ',';
+ // remove trailing comma
+ if (!mods.empty())
+ mods.pop_back();
+ return mods;
+}
+
+
bool LayoutModuleList::moduleCanBeAdded(string const & modName,
LayoutFile const * const lay) const
{