]> git.lyx.org Git - lyx.git/blob - src/lyx_cb.h
Added new signals to Buffer, connect/disconnect to them in BufferView, added BufferVi...
[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 bool MenuWrite(Buffer * buffer);
15 /// write the given file, or ask if no name given
16 bool WriteAs(Buffer * buffer, string const & filename = string());
17 ///
18 void QuitLyX();
19 ///
20 void AutoSave(BufferView * bv);
21 ///
22 void NewFile(BufferView * bv, string const & filename);
23 ///
24 void InsertAsciiFile(BufferView * bv, string const & f, bool asParagraph);
25 ///
26 string getContentsOfAsciiFile(BufferView * bv, string const & f, bool asParagraph);
27 ///
28 string const getPossibleLabel(BufferView const & bv);
29 ///
30 void Reconfigure(BufferView * bv);
31 #endif