]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCode.h
pimpl not needed here
[lyx.git] / src / insets / InsetCode.h
index 2dd7d79c67c97c0324f34c126e61a0e464da5c1c..cd6e9e6b4abdf5fa860122eab333985560ff76b8 100644 (file)
@@ -36,9 +36,7 @@ enum InsetCode {
        ///
        REF_CODE,
        ///
-       URL_CODE, // 5
-       ///
-       HTMLURL_CODE,
+       HYPERLINK_CODE, // 5
        ///
        SEPARATOR_CODE,
        ///
@@ -125,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