]> git.lyx.org Git - lyx.git/blobdiff - src/lyx_cb.h
More 'standard conformant blurb' nonsense.
[lyx.git] / src / lyx_cb.h
index cc9bb3f42b3da48b91f52decda6a54888383c338..f156f1489dd1747487db6fd62bf2ccf5dedac7a3 100644 (file)
@@ -4,24 +4,28 @@
 
 #include "LString.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 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
-