X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxvc.h;h=e2cc2281384b011fc3a35ccd25ad3a17889e05f3;hb=74784ee97b67490c7bb82128bff76f0e8f94a139;hp=706a5639f1a713fe7f0b9f1fa8c9ac3697fd9f0b;hpb=ab45a3ae914b295478724c1d80ca8ec84789e027;p=lyx.git diff --git a/src/lyxvc.h b/src/lyxvc.h index 706a5639f1..e2cc228138 100644 --- a/src/lyxvc.h +++ b/src/lyxvc.h @@ -8,7 +8,6 @@ #endif #include "LString.h" -#include "log_form.h" class VCS; class Buffer; @@ -69,11 +68,12 @@ public: /// Undo last check-in. void undoLast(); - /// - void viewLog(string const &); - - /// - void showLog(); + /** + * Generate a log file and return the filename. + * It is the caller's responsibility to unlink the + * file after use. + */ + const string getLogFile() const; /// void toggleReadOnly(); @@ -87,21 +87,12 @@ public: /// Returns the userid of the person who has locked the doc. string const & locker() const; - /// - static void logClose(FL_OBJECT *, long); - /// - static void logUpdate(FL_OBJECT *, long); -protected: private: /// Buffer * owner_; /// VCS * vcs; - - /// - FD_LaTeXLog * browser; // FD_LaTeXLog is just a browser with a - // close button. Unfortunately we can not use the standard callbacks. }; #endif