X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fbufferview_funcs.h;h=ad1b174c5d5931deaf9115e3366794f1a301af56;hb=c90c5e6386ce69c34c99b3594d6fa452e6a13161;hp=c479b430514023d5f72c0a2f95c70bfcb3e0eb40;hpb=f8242351e2c0610d7555fedb3e9061e9fd482058;p=lyx.git diff --git a/src/bufferview_funcs.h b/src/bufferview_funcs.h index c479b43051..ad1b174c5d 100644 --- a/src/bufferview_funcs.h +++ b/src/bufferview_funcs.h @@ -1,11 +1,26 @@ // -*- C++ -*- +/* This file is part of + * ====================================================== + * + * LyX, The Document Processor + * + * Copyright 1995 Matthias Ettrich + * Copyright 1995-2000 The LyX Team. + * + * ====================================================== */ + #ifndef BUFFERVIEW_FUNCS_H #define BUFFERVIEW_FUNCS_H +#ifdef __GNUG__ +#pragma interface +#endif + #include "LString.h" class BufferView; class LyXFont; +class LyXText; #ifndef NEW_INSETS /// @@ -27,6 +42,8 @@ extern void Figure(); extern void Table(); /// extern void Lang(BufferView *, string const &); +/// +extern void Number(BufferView *); #ifndef NEW_INSETS /// extern void Melt(BufferView *); @@ -34,9 +51,7 @@ extern void Melt(BufferView *); /// extern void Tex(BufferView *); /// -extern void changeDepth(BufferView *, int); -/// -extern void Free(BufferView *); +extern void changeDepth(BufferView *, LyXText *, int); /// extern void ProhibitInput(BufferView *); /// @@ -54,7 +69,7 @@ extern void Underline(BufferView *); /// extern void FontSize(BufferView *, string const &); /// Returns the current font and depth as a message. -extern string CurrentState(BufferView *); +extern string const CurrentState(BufferView *); /// -extern void ToggleAndShow(BufferView *, LyXFont const &); +extern void ToggleAndShow(BufferView *, LyXFont const &, bool toggleall=true); #endif