]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/controllers/ControlVCLog.h
The reference dialog now disconnects from the inset on Apply. Its behaviour
[lyx.git] / src / frontends / controllers / ControlVCLog.h
index 790d4418a70a9b074392dc7d0557f37d282a0ac5..b54bdadd01f2ef6821c1b8ae5d1d1083caa90ff5 100644 (file)
 #ifndef CONTROLVCLOG_H
 #define CONTROLVCLOG_H
 
-#include <utility>
-
 #ifdef __GNUG__
 #pragma interface
 #endif
 
 #include "ControlDialogs.h"
+#include "Lsstream.h"
 
 /**
  * A controller for the Version Control log viewer.
@@ -31,18 +30,14 @@ class ControlVCLog : public ControlDialog<ControlConnectBD> {
 public:
        ///
        ControlVCLog(LyXView &, Dialogs &);
-       ///
-       string const & logfile() { return logfile_; }
+       /// get a stringstream containing the log file
+       stringstream & getVCLogFile(stringstream & ss) const;
+       /// get the filename of the buffer
+       string const getBufferFileName() const;
 
 private:
        ///
        virtual void apply() {}
-       /// set the params before show or update
-       virtual void setParams();
-       /// clean-up on hide.
-       virtual void clearParams();
-
-       string logfile_;
 };
 
 #endif // CONTROLVCLOG_H