]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCode.h
Further cleanup of collapsable insets. The layouts are now properly read and applied.
[lyx.git] / src / insets / InsetCode.h
index 31d571b62f79eb0bf00dd97c4e6a128acb20f0d7..cd6e9e6b4abdf5fa860122eab333985560ff76b8 100644 (file)
@@ -123,13 +123,17 @@ enum InsetCode {
        LISTINGS_CODE,
        ///
        INFO_CODE,
+       ///
+       COLLAPSABLE_CODE,  // 50
 };
 
 /** returns the InsetCode corresponding to the \c name.
-*  Eg, translate("branch") == BRANCH_CODE
-* implemented in 'Inset.cpp'.
+*   Eg, insetCode("branch") == BRANCH_CODE
+*   Implemented in 'Inset.cpp'.
 */
 InsetCode insetCode(std::string const & name);
+/// the other way
+std::string insetName(InsetCode);
 
 } // namespace lyx