X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fbuffer_funcs.h;h=7ad1b56d07fa3597e0f5fe79f69ae8277254a5c3;hb=35204f8f33d7400a5fefeffea533fb4cb4097211;hp=eb2b3d4a684c8963942a190213b14761b48d693f;hpb=2b01ca42d85a4bb019778a50e1b806b76cedd6a4;p=lyx.git diff --git a/src/buffer_funcs.h b/src/buffer_funcs.h index eb2b3d4a68..7ad1b56d07 100644 --- a/src/buffer_funcs.h +++ b/src/buffer_funcs.h @@ -18,6 +18,9 @@ #include +namespace lyx { + + class Buffer; class DocIterator; class ErrorList; @@ -55,16 +58,19 @@ lyx::docstring expandLabel(Buffer const & buf, /** A full updateLabels(Buffer const &) will be called if not possible. */ -void updateLabels(Buffer const & buf, ParIterator & it); +void updateLabels(Buffer const & buf, ParIterator & it, bool childonly = false); /// update labels between "from" and "to" if possible. /** A full updateLabels(Buffer const &) will be called if not possible. */ void updateLabels(Buffer const & buf, - ParIterator & from, ParIterator & to); + ParIterator & from, ParIterator & to, bool childonly = false); /// updates all counters -void updateLabels(Buffer const &); +void updateLabels(Buffer const &, bool childonly = false); + + +} // namespace lyx #endif // BUFFER_FUNCS_H