#define INSETENVIRONMENT_H
#include "InsetText.h"
-#include "lyxlayout_ptr_fwd.h"
+#include "LayoutPtr.h"
namespace lyx {
///
void read(Buffer const & buf, Lexer & lex);
///
- Inset::Code lyxCode() const { return Inset::ENVIRONMENT_CODE; }
+ InsetCode lyxCode() const { return ENVIRONMENT_CODE; }
///
int latex(Buffer const &, odocstream &,
OutputParams const &) const;
protected:
InsetEnvironment(InsetEnvironment const &);
private:
- virtual std::auto_ptr<Inset> doClone() const;
+ virtual Inset * clone() const;
/// the layout
LayoutPtr layout_;
///