]> git.lyx.org Git - lyx.git/blobdiff - src/bufferview_funcs.h
fix typo that put too many include paths for most people
[lyx.git] / src / bufferview_funcs.h
index ada69da5ea9fcc786dd5b2dcf1732fcf01195b9b..bc8a1c517225010f432202c658271337c6ce3e8e 100644 (file)
@@ -1,54 +1,58 @@
 // -*- 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 *);
-///
-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 emph(BufferView *);
 ///
-extern void Melt(BufferView *);
+extern void bold(BufferView *);
 ///
-extern void Tex(BufferView *);
+extern void noun(BufferView *);
 ///
-extern void changeDepth(BufferView *, int);
+extern void table();
 ///
-extern void Free(BufferView *);
+extern void lang(BufferView *, string const &);
 ///
-extern void ProhibitInput(BufferView *);
+extern void number(BufferView *);
 ///
-extern void AllowInput(BufferView *);
+extern void tex(BufferView *);
 ///
-extern void Code(BufferView *);
+extern void changeDepth(BufferView *, LyXText *, int);
 ///
-extern void Sans(BufferView *);
+extern void code(BufferView *);
 ///
-extern void Roman(BufferView *);
+extern void sans(BufferView *);
 ///
-extern void StyleReset(BufferView *);
+extern void roman(BufferView *);
 ///
-extern void Underline(BufferView *);
+extern void styleReset(BufferView *);
 ///
-extern void FontSize(BufferView *, string const &);
+extern void underline(BufferView *);
 ///
-extern string CurrentState(BufferView *);
+extern void fontSize(BufferView *, string const &);
+/// Returns the current font and depth as a message.
+extern string const currentState(BufferView *);
 ///
-extern void ToggleAndShow(BufferView *, LyXFont const &);
+extern void toggleAndShow(BufferView *, LyXFont const &,
+                         bool toggleall = true);
 #endif