// -*- 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;
-#ifndef NEW_INSETS
-///
-extern void Foot(BufferView *);
-#endif
-///
-extern void Emph(BufferView *);
///
-extern void Bold(BufferView *);
+extern void emph(BufferView *);
///
-extern void Noun(BufferView *);
-#ifndef NEW_INSETS
+extern void bold(BufferView *);
///
-extern void Margin(BufferView *);
-#endif
-///
-extern void Figure();
-///
-extern void Table();
-///
-extern void Lang(BufferView *, string const &);
-#ifndef NEW_INSETS
-///
-extern void Melt(BufferView *);
-#endif
+extern void noun(BufferView *);
///
-extern void Tex(BufferView *);
+extern void table();
///
-extern void changeDepth(BufferView *, int);
+extern void lang(BufferView *, string const &);
///
-extern void Free(BufferView *);
+extern void number(BufferView *);
///
-extern void ProhibitInput(BufferView *);
+extern void tex(BufferView *);
///
-extern void AllowInput(BufferView *);
+extern void changeDepth(BufferView *, LyXText *, int);
///
-extern void Code(BufferView *);
+extern void code(BufferView *);
///
-extern void Sans(BufferView *);
+extern void sans(BufferView *);
///
-extern void Roman(BufferView *);
+extern void roman(BufferView *);
///
-extern void StyleReset(BufferView *);
+extern void styleReset(BufferView *);
///
-extern void Underline(BufferView *);
+extern void underline(BufferView *);
///
-extern void FontSize(BufferView *, string const &);
-/// Returns the current font and depth as a message.
-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