]> git.lyx.org Git - lyx.git/blobdiff - src/bufferview_funcs.h
Indentation change + small #ifndef NEW_INSETS fix.
[lyx.git] / src / bufferview_funcs.h
index c479b430514023d5f72c0a2f95c70bfcb3e0eb40..ad1b174c5d5931deaf9115e3366794f1a301af56 100644 (file)
@@ -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