![]() | InDesign SDK 20.5 |
#include <IPMLockFile.h>

Public Types | |
| enum | { kDefaultIID = IID_IPMLOCKFILE } |
Public Member Functions | |
| virtual void | SetDocumentName (const IDFile &docFile)=0 |
| virtual const IDFile * | GetDocumentName () const =0 |
| virtual const IDFile * | GetPMLockFileName () const =0 |
| virtual bool16 | CreatePMLockFile ()=0 |
| virtual bool16 | PMLockFileExist ()=0 |
| virtual bool16 | OpenPMLockFile ()=0 |
| virtual void | ClosePMLockFile ()=0 |
| virtual void | DeletePMLockFile ()=0 |
| virtual bool16 | AcquirePMLockFile ()=0 |
| virtual void | RelinquishPMLockFile (const bool16 &deleteFile=kTrue)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Interface used to create and manage a document's lock file.
| pure virtual |
Acquires the lock file. \ If the lock file exists, opens the lock file. \ Otherwise, creates and opens the lock file.
| pure virtual |
Closes the lock file.
| pure virtual |
Creates and opens the lock file.
| pure virtual |
Deletes the lock file.
| pure virtual |
Returns the document file that the lock file is created for.
| pure virtual |
Returns the lock file.
| pure virtual |
Opens the lock file.
| pure virtual |
Determines if the lock file exists.
| pure virtual |
Closes and conditionally deletes the lock file.
| deleteFile | IN Denotes whether to delete the lock file. |
| pure virtual |
Sets the document file that the lock file will be created for.
| docFile | IN Document file the lock file will be created for. |