]> git.lyx.org Git - lyx.git/blobdiff - src/lyx_cb.h
Applied John's FileDialog patch.
[lyx.git] / src / lyx_cb.h
index 362f9b0d1873c297772e639f34e7c3886231e539..619d399e425ffd4ba7a4f63fe5eea3145eccb011 100644 (file)
@@ -25,8 +25,8 @@ void ShowMessage(Buffer const * buf,
                 string const & msg3 = string(), int delay = 6);
 ///
 bool MenuWrite(BufferView * bv, Buffer * buffer);
-///
-bool MenuWriteAs(BufferView * bv, Buffer * buffer);
+/// write the given file, or ask if no name given
+bool WriteAs(BufferView * bv, Buffer * buffer, const string & filename = string());
 ///
 int MenuRunChktex(Buffer * buffer);
 ///
@@ -40,8 +40,6 @@ void InsertAsciiFile(BufferView * bv, string const & f, bool asParagraph);
 ///
 void MenuInsertLabel(BufferView * bv, string const & arg);
 ///
-void LayoutsCB(int sel, void *, Combox *);
-///
 void MenuLayoutCharacter();
 ///
 void MenuLayoutSave(BufferView * bv);