#endif
#include "insetcommand.h"
-#include "support/utility.hpp"
/** Used to insert table of contents
*/
-class InsetTOC : public InsetCommand, public noncopyable {
+class InsetTOC : public InsetCommand {
public:
///
InsetTOC(InsetCommandParams const & p) : InsetCommand(p) {}
///
- Inset * Clone() const { return new InsetTOC(params()); }
+ Inset * Clone(Buffer const &) const { return new InsetTOC(params()); }
///
- string getScreenLabel() const;
+ string const getScreenLabel() const;
///
void Edit(BufferView * bv, int, int, unsigned int);
///
///
Inset::Code LyxCode() const;
///
+ int Ascii(Buffer const *, std::ostream &, int linelen) const;
+ ///
int Linuxdoc(Buffer const *, std::ostream &) const;
///
int DocBook(Buffer const *, std::ostream &) const;