#include <config.h>
-#ifdef __GNUG__
-#pragma implementation
-#endif
-
#include "lyxvc.h"
#include "vc-backend.h"
#include "debug.h"
using std::endl;
using std::pair;
+/* WARNING: Several of the vcs-> methods end up
+ * deleting this object via BufferView::reload() !
+ */
+
LyXVC::LyXVC()
{
vcs = 0;
void LyXVC::registrer()
{
string const filename = owner_->fileName();
-
+
// there must be a file to save
if (!IsFileReadable(filename)) {
Alert::alert(_("File not saved"),
}
vcs->checkOut();
-
}