]> git.lyx.org Git - lyx.git/blobdiff - src/lyx_cb.h
More fixes to insettabular/text (and some missing features added).
[lyx.git] / src / lyx_cb.h
index 5e6c26ce894979dd2624356c9ed35a0df5385815..40d9de315de04ac09aa03053d1e61ea2df3456aa 100644 (file)
@@ -1,78 +1,63 @@
 // -*- C++ -*-
-#ifndef _LYX_CB_H
-#define _LYX_CB_H
+#ifndef LYX_CB_H
+#define LYX_CB_H
 
-#include FORMS_H_LOCATION
+#include "LString.h"
+#include "lyxfont.h"
 
-class LString;
-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 FootCB(FL_OBJECT *, long);
-///
-extern void EmphCB();
-///
-extern void BoldCB();
 ///
-extern void NounCB();
-///
-extern void MarginCB(FL_OBJECT *, long);
-///
-extern void FigureCB(FL_OBJECT *, long);
-///
-extern void TableCB(FL_OBJECT *, long);
-///
-extern void MeltCB(FL_OBJECT *, long);
+extern bool BindFileSet;
 ///
-extern void TexCB();
+extern LyXFont const UserFreeFont(BufferParams const & params);
 ///
-extern 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(LString const &);
+LyXFont const UserFreeFont(BufferParams const & params);
 ///
-extern LString CurrentState();
+void Figure();
 ///
-extern void AllowInput();
+void Reconfigure(BufferView * bv);
 
-///
-struct InsetUpdateStruct {
-       ///
-       Inset* inset;
-       ///
-       InsetUpdateStruct* next;
-};
+       
 #endif