20#ifndef INCLUDED_SVL_DOCUMENTLOCKFILE_HXX
21#define INCLUDED_SVL_DOCUMENTLOCKFILE_HXX
39 bool CreateOwnLockFile();
40 bool OverwriteOwnLockFile();
44 void RemoveFileDirectly();
50 virtual void WriteEntryToStream( std::unique_lock<std::mutex>& rGuard,
const LockFileEntry& aEntry,
const css::uno::Reference< css::io::XOutputStream >& xStream ) = 0;
51 virtual css::uno::Reference< css::io::XInputStream > OpenStream(std::unique_lock<std::mutex>& rGuard);
57 virtual void WriteEntryToStream( std::unique_lock<std::mutex>& rGuard,
const LockFileEntry& aEntry,
const css::uno::Reference< css::io::XOutputStream >&
xStream )
override;
64 virtual LockFileEntry GetLockDataImpl(std::unique_lock<std::mutex>& rGuard)
override;
Class implementing reading and writing LO lockfiles.
Generalized class for LO and MSO lockfile handling.
virtual LockFileEntry GetLockDataImpl(std::unique_lock< std::mutex > &rGuard)=0
virtual void WriteEntryToStream(std::unique_lock< std::mutex > &rGuard, const LockFileEntry &aEntry, const css::uno::Reference< css::io::XOutputStream > &xStream)=0
This is a general implementation that is used in document lock file implementation and in sharing con...