+// -*- C++ -*-
/**
* \file insetwrap.h
* This file is part of LyX, the document processor.
///
void validate(LaTeXFeatures & features) const;
///
- Inset * clone() const;
+ virtual std::auto_ptr<InsetBase> clone() const;
///
- Inset::Code lyxCode() const { return Inset::WRAP_CODE; }
+ InsetOld::Code lyxCode() const { return InsetOld::WRAP_CODE; }
///
int latex(Buffer const *, std::ostream &,
LatexRunParams const &) const;
///
string const editMessage() const;
///
- bool insetAllowed(Inset::Code) const;
+ bool insetAllowed(InsetOld::Code) const;
///
- int getMaxWidth(BufferView *, UpdatableInset const *) const;
- ///
- void addToToc(toc::TocList &, Buffer const *) const;
+ void addToToc(lyx::toc::TocList &, Buffer const *) const;
///
bool showInsetDialog(BufferView *) const;
///
///
virtual string const & name() const { return name_; }
///
- virtual string const inset2string() const;
+ virtual string const inset2string(Buffer const &) const;
///
static void string2params(string const &, InsetWrapParams &);
///