]> git.lyx.org Git - lyx.git/blobdiff - src/lyx_cb.h
more code in the menu backend == less code in the menu frontends; add support for...
[lyx.git] / src / lyx_cb.h
index 6dfd43b0bc51f165b408fe1a29a48a03b4461077..5db5524967b7d090a47577aee8ef1d8bc077045e 100644 (file)
@@ -14,7 +14,7 @@ extern bool quitting;
 void ShowMessage(Buffer const * buf,
                 string const & msg1,
                 string const & msg2 = string(),
-                string const & msg3 = string(), int delay = 6);
+                string const & msg3 = string());
 ///
 bool MenuWrite(BufferView * bv, Buffer * buffer);
 /// write the given file, or ask if no name given
@@ -27,14 +27,13 @@ void QuitLyX();
 ///
 void AutoSave(BufferView * bv);
 ///
-Buffer * NewLyxFile(string const & filename);
+Buffer * NewFile(string const & filename);
 ///
 void InsertAsciiFile(BufferView * bv, string const & f, bool asParagraph);
 ///
-void MenuInsertLabel(BufferView * bv, string const & arg);
+string getContentsOfAsciiFile(BufferView * bv, string const & f, bool asParagraph);
 ///
-void MenuLayoutSave(BufferView * bv);
+void MenuInsertLabel(BufferView * bv, string const & arg);
 ///
 void Reconfigure(BufferView * bv);
 #endif
-