class InsetEnvironment : public InsetText {
public:
///
- InsetEnvironment(BufferParams const &, std::string const & name);
+ InsetEnvironment(BufferParams const &, docstring const & name);
///
docstring name() const { return name_; }
///
///
Inset::EDITABLE editable() const { return HIGHLY_EDITABLE; }
///
- Layout_ptr const & layout() const;
+ LayoutPtr 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 */
protected:
InsetEnvironment(InsetEnvironment const &);
private:
- virtual std::auto_ptr<Inset> doClone() const;
+ virtual Inset * clone() const;
/// the layout
- Layout_ptr layout_;
+ LayoutPtr layout_;
///
docstring name_;
};