]> git.lyx.org Git - lyx.git/blobdiff - src/lyxvc.h
bug 183
[lyx.git] / src / lyxvc.h
index 8f3272f699923a642ae4a46605fc9117cab7eefe..75bc7871cd89c7b8e00ac4dea02a63287a2ce2ec 100644 (file)
@@ -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();
@@ -82,25 +82,19 @@ public:
        bool inUse();
 
        /// Returns the version number.
-       string const & version() const;
+       //string const & version() const;
+       /// Returns the version number.
+       string const versionString() const;
 
        /// 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);
 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