]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCode.h
This should be the last of the commits refactoring the InsetLayout code.
[lyx.git] / src / insets / InsetCode.h
index 2dd7d79c67c97c0324f34c126e61a0e464da5c1c..6a3f1bc15f1b06a33952efcf6a3c101a77a447d1 100644 (file)
@@ -36,9 +36,7 @@ enum InsetCode {
        ///
        REF_CODE,
        ///
-       URL_CODE, // 5
-       ///
-       HTMLURL_CODE,
+       HYPERLINK_CODE, // 5
        ///
        SEPARATOR_CODE,
        ///
@@ -120,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