]> git.lyx.org Git - lyx.git/blobdiff - src/bufferview_funcs.h
Minor code shuffle.
[lyx.git] / src / bufferview_funcs.h
index 4837f19e46549042a578631187c453c8ec033bcd..51b0823be3fa72df9a1f73f7c8a17f1d2467fa6e 100644 (file)
@@ -5,7 +5,7 @@
  *           LyX, The Document Processor
  *        
  *           Copyright 1995 Matthias Ettrich
- *           Copyright 1995-2000 The LyX Team.
+ *           Copyright 1995-2001 The LyX Team.
  *
  * ====================================================== */
 
 
 class BufferView;
 class LyXFont;
+class LyXText;
 
-#ifndef NEW_INSETS
-///
-extern void Foot(BufferView *);
-#endif
 ///
 extern void Emph(BufferView *);
 ///
 extern void Bold(BufferView *);
 ///
 extern void Noun(BufferView *);
-#ifndef NEW_INSETS
-///
-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 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 *);
 ///
@@ -70,5 +55,5 @@ 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