Buffer * owner() const { return owner_; }
/// return the lock status of this file
VCStatus status() const { return vcstatus; }
+ /// do we need special handling for read-only toggling?
+ /// (also used for check-out operation)
+ virtual bool toggleReadOnlyEnabled() = 0;
protected:
/// parse information from the version file
virtual void scanMaster() = 0;
return "RCS: " + version_;
}
+ virtual bool toggleReadOnlyEnabled();
+
protected:
virtual void scanMaster();
};
return "CVS: " + version_;
}
+ virtual bool toggleReadOnlyEnabled();
+
protected:
virtual void scanMaster();
return "SVN: " + version_;
}
+ virtual bool toggleReadOnlyEnabled();
+
protected:
virtual void scanMaster();
+ /// Check for error messages in svn output.
+ std::string scanLogFile(support::FileName const & f);
private:
support::FileName file_;