]> git.lyx.org Git - lyx.git/blobdiff - src/lyx_cb.h
More 'standard conformant blurb' nonsense.
[lyx.git] / src / lyx_cb.h
index 8904ee965f780c21f5c481dcf3c4e9db74959fe7..f156f1489dd1747487db6fd62bf2ccf5dedac7a3 100644 (file)
@@ -3,26 +3,29 @@
 #define LYX_CB_H
 
 #include "LString.h"
-#include "lyxfont.h"
 
-class BufferParams;
+class Buffer;
+class BufferView;
 
 ///
 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;
+bool MenuWrite(Buffer * buffer);
+/// write the given file, or ask if no name given
+bool WriteAs(Buffer * buffer, string const & filename = string());
 ///
-extern LyXFont const UserFreeFont(BufferParams const & params);
+void QuitLyX();
 ///
-void ShowMessage(Buffer * buf,
-                string const & msg1,
-                string const & msg2 = string(),
-                string const & msg3 = string(), int delay = 6);
-
+void AutoSave(BufferView * bv);
+///
+void NewFile(BufferView * bv, string const & filename);
+///
+void InsertAsciiFile(BufferView * bv, string const & f, bool asParagraph);
+///
+string getContentsOfAsciiFile(BufferView * bv, string const & f, bool asParagraph);
+///
+string const getPossibleLabel(BufferView const & bv);
+///
+void Reconfigure(BufferView * bv);
 #endif
-