]> git.lyx.org Git - features.git/blobdiff - src/LayoutModuleList.h
Fix pasting as LaTeX in documents with no modules
[features.git] / src / LayoutModuleList.h
index 6018029aa8570a3492e46711563e2e0a67350d34..babd76022986387e12c1962ff2ba548c5c044b4f 100644 (file)
@@ -55,6 +55,8 @@ public:
        /// This is needed in GuiDocument. It seems better than an
        /// implicit conversion.
        std::list<std::string> const & list() const { return lml_; }
+       /// List of modules as a comma-separated string
+       std::string asString() const;
        /// Checks to make sure module's requriements are satisfied, that it does
        /// not conflict with already-present modules, isn't already loaded, etc.
        bool moduleCanBeAdded(std::string const & modName,