]> git.lyx.org Git - lyx.git/blob - src/lyx_cb.h
go through horrendous contortions to work around font breakage in every
[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(Buffer * buffer);
20 /// write the given file, or ask if no name given
21 bool WriteAs(Buffer * buffer, string const & filename = string());
22 ///
23 void QuitLyX();
24 ///
25 void AutoSave(BufferView * bv);
26 ///
27 Buffer * NewFile(string const & filename);
28 ///
29 void InsertAsciiFile(BufferView * bv, string const & f, bool asParagraph);
30 ///
31 string getContentsOfAsciiFile(BufferView * bv, string const & f, bool asParagraph);
32 ///
33 string const getPossibleLabel(BufferView const & bv);
34 ///
35 void Reconfigure(BufferView * bv);
36 #endif