X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetInclude.h;h=78d308008ce4d0f5ad233400112b78978ba7fdcf;hb=dc8c4f3eab6e01f3767de765423fda5e4d6c5124;hp=2583f41406fb0cdf22e1db6e1290a5986652ef39;hpb=a2e8cb758b70269da40d13d7b272d256a29a022a;p=lyx.git diff --git a/src/insets/InsetInclude.h b/src/insets/InsetInclude.h index 2583f41406..78d308008c 100644 --- a/src/insets/InsetInclude.h +++ b/src/insets/InsetInclude.h @@ -35,6 +35,10 @@ namespace support { /// for including tex/lyx files class InsetInclude : public InsetCommand { + // Disable assignment operator, since it is not used, and cannot be + // implemented consistently with the copy constructor, because + // include_label is const. + InsetInclude & operator=(InsetInclude const &); public: /// InsetInclude(Buffer * buf, InsetCommandParams const &); @@ -64,6 +68,8 @@ public: /// void updateCommand(); + /// + void write(std::ostream &) const; /// \name Public functions inherited from Inset class //@{ @@ -91,7 +97,8 @@ public: /// void latex(otexstream &, OutputParams const &) const; /// - int plaintext(odocstream &, OutputParams const &) const; + int plaintext(odocstringstream & ods, OutputParams const & op, + size_t max_length = INT_MAX) const; /// int docbook(odocstream &, OutputParams const &) const; /// @@ -101,7 +108,8 @@ public: /// void addPreview(DocIterator const &, graphics::PreviewLoader &) const; /// - void addToToc(DocIterator const &) const; + void addToToc(DocIterator const & di, bool output_active, + UpdateType utype) const; /// void updateBuffer(ParIterator const &, UpdateType); ///