#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 "C" void FootCB(FL_OBJECT *, long);
-///
-extern void EmphCB();
-///
-extern void BoldCB();
///
-extern void NounCB();
-///
-extern "C" void MarginCB(FL_OBJECT *, long);
-///
-extern "C" void FigureCB(FL_OBJECT *, long);
-///
-extern "C" void TableCB(FL_OBJECT *, long);
-///
-extern "C" void MeltCB(FL_OBJECT *, long);
+extern bool BindFileSet;
///
-extern void TexCB();
+extern LyXFont const UserFreeFont(BufferParams const & params);
///
-extern "C" void DepthCB(FL_OBJECT *, long);
+void ShowMessage(Buffer const * buf,
+ string const & msg1,
+ string const & msg2 = string(),
+ string const & msg3 = string(), int delay = 6);
///
-extern void FreeCB();
+bool MenuWrite(BufferView * bv, Buffer * buffer);
///
-extern void CutCB();
+bool MenuWriteAs(BufferView * bv, Buffer * buffer);
///
-extern void PasteCB();
+int MenuRunChktex(Buffer * buffer);
///
-extern void CopyCB();
+void QuitLyX();
///
-extern void NoteCB();
+void AutoSave(BufferView * bv);
///
-extern void HtmlUrlCB();
+Buffer * NewLyxFile(string const & filename);
///
-extern void UrlCB();
+void InsertAsciiFile(BufferView * bv, string const & f, bool asParagraph);
///
-extern void ProhibitInput();
+void MenuInsertLabel(BufferView * bv, string const & arg);
///
-extern void CodeCB();
+void LayoutsCB(int sel, void *, Combox *);
///
-extern void SansCB();
+void MenuLayoutCharacter();
///
-extern void RomanCB();
+bool UpdateLayoutPreamble(BufferView * bv);
///
-extern void StyleResetCB();
+void MenuLayoutPreamble();
///
-extern void UnderlineCB();
+void MenuLayoutSave(BufferView * bv);
///
-extern void FontSizeCB(string const &);
+LyXFont const UserFreeFont(BufferParams const & params);
///
-extern string CurrentState();
+void Figure();
///
-extern void AllowInput();
+void Reconfigure(BufferView * bv);
-///
-struct InsetUpdateStruct {
- ///
- Inset* inset;
- ///
- InsetUpdateStruct* next;
-};
+
#endif