]> git.lyx.org Git - lyx.git/blobdiff - src/bufferview_funcs.h
Minor code shuffle.
[lyx.git] / src / bufferview_funcs.h
index ada69da5ea9fcc786dd5b2dcf1732fcf01195b9b..51b0823be3fa72df9a1f73f7c8a17f1d2467fa6e 100644 (file)
@@ -1,14 +1,27 @@
 // -*- C++ -*-
+/* This file is part of
+ * ====================================================== 
+ * 
+ *           LyX, The Document Processor
+ *        
+ *           Copyright 1995 Matthias Ettrich
+ *           Copyright 1995-2001 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;
 
-///
-extern void Foot(BufferView *);
 ///
 extern void Emph(BufferView *);
 ///
@@ -16,25 +29,17 @@ extern void Bold(BufferView *);
 ///
 extern void Noun(BufferView *);
 ///
-extern void Margin(BufferView *);
-///
 extern void Figure();
 ///
 extern void Table();
 ///
 extern void Lang(BufferView *, string const &);
 ///
-extern void Melt(BufferView *);
+extern void Number(BufferView *);
 ///
 extern void Tex(BufferView *);
 ///
-extern void changeDepth(BufferView *, int);
-///
-extern void Free(BufferView *);
-///
-extern void ProhibitInput(BufferView *);
-///
-extern void AllowInput(BufferView *);
+extern void changeDepth(BufferView *, LyXText *, int);
 ///
 extern void Code(BufferView *);
 ///
@@ -47,8 +52,8 @@ extern void StyleReset(BufferView *);
 extern void Underline(BufferView *);
 ///
 extern void FontSize(BufferView *, string const &);
+/// Returns the current font and depth as a message. 
+extern string const CurrentState(BufferView *);
 ///
-extern string CurrentState(BufferView *);
-///
-extern void ToggleAndShow(BufferView *, LyXFont const &);
+extern void ToggleAndShow(BufferView *, LyXFont const &, bool toggleall=true);
 #endif