]> git.lyx.org Git - lyx.git/blobdiff - src/callback.h
small simplification
[lyx.git] / src / callback.h
index df11f506c959b97398907f887a567c5d5ea2e6fd..3fe910eb222360d534e140e9da3ba6662a286fe0 100644 (file)
@@ -33,14 +33,14 @@ bool writeAs(Buffer * buffer, std::string const & filename = std::string());
 ///
 void autoSave(BufferView * bv);
 ///
-void newFile(BufferView * bv, std::string const & filename);
+void newFile(frontend::LyXView & lv, std::string const & filename);
 ///
 void insertPlaintextFile(BufferView * bv, std::string const & f, bool asParagraph);
 /// read plain text file (if \p f is empty, prompt for a filename)
 docstring const getContentsOfPlaintextFile(BufferView * bv,
                std::string const & f, bool asParagraph);
 ///
-void reconfigure(frontend::LyXView & lv);
+void reconfigure(frontend::LyXView & lv, std::string const & option);
 
 } // namespace lyx