]> git.lyx.org Git - lyx.git/blobdiff - src/lyx_cb.h
* GuiView.C (updateTab): do not update early if current tab has
[lyx.git] / src / lyx_cb.h
index 67bc2bddd82c954dc8404e6cdb3718bd806bf701..03cecc4a7058b103faa96d56d1a68dcbeb23c09b 100644 (file)
 
 #include <string>
 
+namespace lyx {
+
 class Buffer;
 class BufferView;
+class LyXView;
 
 ///
 extern bool quitting;
 
 ///
-bool MenuWrite(Buffer * buffer);
+bool menuWrite(Buffer * buffer);
 /// write the given file, or ask if no name given
-bool WriteAs(Buffer * buffer, std::string const & filename = std::string());
-///
-void QuitLyX();
+bool writeAs(Buffer * buffer, std::string const & filename = std::string());
 ///
-void AutoSave(BufferView * bv);
+void autoSave(BufferView * bv);
 ///
-void NewFile(BufferView * bv, std::string const & filename);
+void newFile(BufferView * bv, std::string const & filename);
 ///
-void InsertAsciiFile(BufferView * bv, std::string const & f, bool asParagraph);
+void insertPlaintextFile(BufferView * bv, std::string const & f, bool asParagraph);
 ///
-std::string getContentsOfAsciiFile(BufferView * bv, std::string const & f, bool asParagraph);
+std::string getContentsOfPlaintextFile(BufferView * bv, std::string const & f, bool asParagraph);
 ///
-void Reconfigure(BufferView * bv);
+void reconfigure(LyXView & lv);
+
+} // namespace lyx
+
 #endif