// This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to 
// this header file considered to be the "object code" form of the original source.

#ifndef _OSD_LockType_HeaderFile
#define _OSD_LockType_HeaderFile

#include <Standard_PrimitiveTypes.hxx>

//! locks for files.
//! NoLock is the default value when opening a file.
//!
//! ReadLock allows only one reading of the file at a time.
//!
//! WriteLock prevents others writing into a file(excepted the user
//! who puts the lock)but allows everybody to read.
//!
//! ExclusiveLock prevents reading and writing except for the
//! current user of the file.
//! So ExclusiveLock means only one user on the file and this
//! user is the one who puts the lock.
enum OSD_LockType
{
OSD_NoLock,
OSD_ReadLock,
OSD_WriteLock,
OSD_ExclusiveLock
};

#endif // _OSD_LockType_HeaderFile
