]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetenv.h
* src/LyXAction.C: mark goto-clear-bookmark as working without buffer
[lyx.git] / src / insets / insetenv.h
index e0306009300f0d81bf0fa73880fea441d1fdfeda..0925a20ad39a05d4dc42f4d146fbb15211fe2c4c 100644 (file)
@@ -16,6 +16,8 @@
 #include "lyxlayout_ptr_fwd.h"
 
 
+namespace lyx {
+
 class InsetEnvironment : public InsetText {
 public:
        ///
@@ -27,17 +29,17 @@ public:
        ///
        InsetBase::Code lyxCode() const { return InsetBase::ENVIRONMENT_CODE; }
        ///
-       int latex(Buffer const &, std::ostream &,
+       int latex(Buffer const &, odocstream &,
                  OutputParams const &) const;
        ///
-       std::string const editMessage() const;
+       virtual docstring const editMessage() const;
        ///
        InsetBase::EDITABLE editable() const { return HIGHLY_EDITABLE; }
        ///
        LyXLayout_ptr const & layout() const;
        /** returns true if, when outputing LaTeX, font changes should
-            be closed before generating this inset. This is needed for
-            insets that may contain several paragraphs */
+           be closed before generating this inset. This is needed for
+           insets that may contain several paragraphs */
        bool noFontChange() const { return true; }
 protected:
        InsetEnvironment(InsetEnvironment const &);
@@ -47,4 +49,7 @@ private:
        LyXLayout_ptr layout_;
 };
 
+
+} // namespace lyx
+
 #endif