]> git.lyx.org Git - lyx.git/blob - src/lyx_cb.h
mathed40.diff
[lyx.git] / src / lyx_cb.h
1 // -*- C++ -*-
2 #ifndef LYX_CB_H
3 #define LYX_CB_H
4
5 #include "LString.h"
6 #include "lyxfont.h"
7
8 class BufferParams;
9 class BufferView;
10 class Combox;
11
12 ///
13 extern bool quitting;
14 ///
15 extern bool toggleall;
16
17 // When still false after reading lyxrc, warn user
18 //about failing \bind_file command. RVDK_PATCH_5
19 ///
20 extern bool BindFileSet;
21 ///
22 void ShowMessage(Buffer const * buf,
23                  string const & msg1,
24                  string const & msg2 = string(),
25                  string const & msg3 = string(), int delay = 6);
26 ///
27 bool MenuWrite(BufferView * bv, Buffer * buffer);
28 ///
29 bool MenuWriteAs(BufferView * bv, Buffer * buffer);
30 ///
31 int MenuRunChktex(Buffer * buffer);
32 ///
33 void QuitLyX();
34 ///
35 void AutoSave(BufferView * bv);
36 ///
37 Buffer * NewLyxFile(string const & filename);
38 ///
39 void InsertAsciiFile(BufferView * bv, string const & f, bool asParagraph);
40 ///
41 void MenuInsertLabel(BufferView * bv, string const & arg);
42 ///
43 void LayoutsCB(int sel, void *, Combox *);
44 ///
45 void MenuLayoutCharacter();
46 ///
47 void MenuLayoutSave(BufferView * bv);
48 ///
49 void Figure();
50 ///
51 void Reconfigure(BufferView * bv);
52
53         
54 #endif
55