X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLayoutModuleList.h;h=f5741dede1657d6c3d016d01dd3f2222c28d1d47;hb=74c9165190133af19c95584e4922ed749db0f9fe;hp=245b6a7e693bd54ba3d77080559cade71c0baf2e;hpb=7cf4a9fb9fd95317da8a225d2e8eb7278dbd1c03;p=lyx.git diff --git a/src/LayoutModuleList.h b/src/LayoutModuleList.h index 245b6a7e69..f5741dede1 100644 --- a/src/LayoutModuleList.h +++ b/src/LayoutModuleList.h @@ -57,7 +57,10 @@ public: std::list const & list() const { return lml_; } /// 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, + bool moduleCanBeAdded(std::string const & modName, + LayoutFile const * const lay) const; + /// Like !moduleCanBeAdded(), but does not check requirements + bool moduleConflicts(std::string const & modName, LayoutFile const * const lay) const; /// If the user changes the base class for a given document, then the /// associated module list has to be updated. This just calls