]> git.lyx.org Git - lyx.git/blobdiff - src/lyx_cb.h
mathed31.diff
[lyx.git] / src / lyx_cb.h
index 4518af219a129cce5ca02f75c6f821e19b07d21a..40d9de315de04ac09aa03053d1e61ea2df3456aa 100644 (file)
@@ -2,62 +2,62 @@
 #ifndef LYX_CB_H
 #define LYX_CB_H
 
-#include FORMS_H_LOCATION
-
 #include "LString.h"
+#include "lyxfont.h"
 
-class Inset;
+class BufferParams;
 class BufferView;
+class Combox;
 
 ///
 extern bool quitting;
+///
+extern bool toggleall;
 
 // When still false after reading lyxrc, warn user
 //about failing \bind_file command. RVDK_PATCH_5
-extern bool BindFileSet;
-
 ///
-extern void Foot(BufferView *);
-///
-extern void Emph(BufferView *);
-///
-extern void Bold(BufferView *);
+extern bool BindFileSet;
 ///
-extern void Noun(BufferView *);
+extern LyXFont const UserFreeFont(BufferParams const & params);
 ///
-extern void Margin(BufferView *);
+void ShowMessage(Buffer const * buf,
+                string const & msg1,
+                string const & msg2 = string(),
+                string const & msg3 = string(), int delay = 6);
 ///
-extern void Figure();
+bool MenuWrite(BufferView * bv, Buffer * buffer);
 ///
-extern void Lang(BufferView *, string const &);
+bool MenuWriteAs(BufferView * bv, Buffer * buffer);
 ///
-extern void Table();
+int MenuRunChktex(Buffer * buffer);
 ///
-extern void Melt(BufferView *);
+void QuitLyX();
 ///
-extern void Tex(BufferView *);
+void AutoSave(BufferView * bv);
 ///
-extern void changeDepth(BufferView *, int);
+Buffer * NewLyxFile(string const & filename);
 ///
-extern void Free(BufferView *);
+void InsertAsciiFile(BufferView * bv, string const & f, bool asParagraph);
 ///
-extern void ProhibitInput(BufferView *);
+void MenuInsertLabel(BufferView * bv, string const & arg);
 ///
-extern void AllowInput(BufferView *);
+void LayoutsCB(int sel, void *, Combox *);
 ///
-extern void Code(BufferView *);
+void MenuLayoutCharacter();
 ///
-extern void Sans(BufferView *);
+bool UpdateLayoutPreamble(BufferView * bv);
 ///
-extern void Roman(BufferView *);
+void MenuLayoutPreamble();
 ///
-extern void StyleReset(BufferView *);
+void MenuLayoutSave(BufferView * bv);
 ///
-extern void Underline(BufferView *);
+LyXFont const UserFreeFont(BufferParams const & params);
 ///
-extern void FontSize(BufferView *, string const &);
+void Figure();
 ///
-extern string CurrentState(BufferView *);
+void Reconfigure(BufferView * bv);
 
+       
 #endif