]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetInfo.h
Restore XHTML output for InsetListings.
[lyx.git] / src / insets / InsetInfo.h
index 6dfb496f4d2e281b1b067eae02caab2a70baf04a..797eb08ff78782a72c8b26b0bfd0fa72ce208f78 100644 (file)
@@ -75,8 +75,6 @@ the command buffer (view->Toolbar->Command Buffer).
 
 namespace lyx {
 
-/** Used to insert index labels
-  */
 class InsetInfo : public InsetCollapsable {
 public:
        enum info_type {
@@ -92,7 +90,7 @@ public:
        };
 
        ///
-       InsetInfo(Buffer const & buf, std::string const & info = std::string());
+       InsetInfo(Buffer * buf, std::string const & info = std::string());
        ///
        InsetCode lyxCode() const { return INFO_CODE; }
        ///
@@ -100,7 +98,9 @@ public:
        ///
        Inset * editXY(Cursor & cur, int x, int y);
        ///
-       EDITABLE editable() const { return IS_EDITABLE; }
+       bool editable() const { return false; }
+       ///
+       bool hasSettings() const { return true; }
        ///
        void read(Lexer & lex);
        ///
@@ -144,7 +144,6 @@ private:
 };
 
 
-
 } // namespace lyx
 
 #endif