]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCode.h
More headers.
[lyx.git] / src / insets / InsetCode.h
index 31d571b62f79eb0bf00dd97c4e6a128acb20f0d7..6a3f1bc15f1b06a33952efcf6a3c101a77a447d1 100644 (file)
@@ -118,18 +118,22 @@ enum InsetCode {
        ///
        NOMENCL_PRINT_CODE,
        ///
-       PAGEBREAK_CODE,
+       NEWPAGE_CODE,
        ///
        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