]> git.lyx.org Git - lyx.git/blobdiff - src/lyx_cb.h
hopefully fix tex2lyx linking.
[lyx.git] / src / lyx_cb.h
index 949f695295cc336553847012e6c252b133e6bf55..da520d82b1edc0ae6c1fb08c97c7c9d2c561925f 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 insertAsciiFile(BufferView * bv, std::string const & f, bool asParagraph);
 ///
 std::string getContentsOfAsciiFile(BufferView * bv, std::string const & f, bool asParagraph);
 ///
-std::string const getPossibleLabel(BufferView const & bv);
-///
-void Reconfigure(BufferView * bv);
+void reconfigure(LyXView & lv);
+
+} // namespace lyx
+
 #endif