]> git.lyx.org Git - lyx.git/blob - src/lyx_cb.h
fix typo that put too many include paths for most people
[lyx.git] / src / lyx_cb.h
1 // -*- C++ -*-
2 #ifndef LYX_CB_H
3 #define LYX_CB_H
4
5 #include "LString.h"
6
7 class Buffer;
8 class BufferView;
9
10 ///
11 extern bool quitting;
12
13 ///
14 void ShowMessage(Buffer const * buf,
15                  string const & msg1,
16                  string const & msg2 = string(),
17                  string const & msg3 = string());
18 ///
19 bool MenuWrite(BufferView * bv, Buffer * buffer);
20 /// write the given file, or ask if no name given
21 bool WriteAs(BufferView * bv, Buffer * buffer,
22              string const & filename = string());
23 ///
24 int MenuRunChktex(Buffer * buffer);
25 ///
26 void QuitLyX();
27 ///
28 void AutoSave(BufferView * bv);
29 ///
30 Buffer * NewLyxFile(string const & filename);
31 ///
32 void InsertAsciiFile(BufferView * bv, string const & f, bool asParagraph);
33 ///
34 string getContentsOfAsciiFile(BufferView * bv, string const & f, bool asParagraph);
35 ///
36 void MenuInsertLabel(BufferView * bv, string const & arg);
37 ///
38 void Reconfigure(BufferView * bv);
39 #endif