]> git.lyx.org Git - lyx.git/blobdiff - src/callback.h
Fulfill promise to Andre: TextClass_ptr --> TextClassPtr.
[lyx.git] / src / callback.h
index 6ce3858b7238979102bf46adff80022a003f0a15..716e30b942dbe2734c5cf196e911eafc705951ab 100644 (file)
@@ -18,7 +18,10 @@ namespace lyx {
 
 class Buffer;
 class BufferView;
+
+namespace frontend {
 class LyXView;
+}
 
 ///
 extern bool quitting;
@@ -30,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(LyXView & lv);
+void reconfigure(frontend::LyXView & lv);
 
 } // namespace lyx