]> git.lyx.org Git - lyx.git/blobdiff - src/bufferview_funcs.h
Dekels tabular/textinset patches
[lyx.git] / src / bufferview_funcs.h
index e27fa0f66fbed217e94a3f2520318aea2d749ff3..2a062c9eee3b60ceec50128a87ec1da15e066216 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,7 +51,7 @@ extern void Melt(BufferView *);
 ///
 extern void Tex(BufferView *);
 ///
-extern void changeDepth(BufferView *, int);
+extern void changeDepth(BufferView *, LyXText *, int);
 ///
 extern void Free(BufferView *);
 ///
@@ -53,8 +70,8 @@ extern void StyleReset(BufferView *);
 extern void Underline(BufferView *);
 ///
 extern void FontSize(BufferView *, string const &);
-///
-extern string CurrentState(BufferView *);
+/// Returns the current font and depth as a message. 
+extern string const CurrentState(BufferView *);
 ///
 extern void ToggleAndShow(BufferView *, LyXFont const &);
 #endif