00001 #ifndef CLASSLIB_SYSAPI_FILE_LOCK_H 00002 # define CLASSLIB_SYSAPI_FILE_LOCK_H 00003 00004 //<<<<<< INCLUDES >>>>>> 00005 00006 # include "classlib/sysapi/system.h" 00007 # ifdef _WIN32 00008 # include <windows.h> 00009 # else 00010 # include <unistd.h> 00011 # include <fcntl.h> 00012 # include <cerrno> 00013 # include <cstdlib> 00014 # endif 00015 00016 //<<<<<< PUBLIC DEFINES >>>>>> 00017 //<<<<<< PUBLIC CONSTANTS >>>>>> 00018 //<<<<<< PUBLIC TYPES >>>>>> 00019 //<<<<<< PUBLIC VARIABLES >>>>>> 00020 //<<<<<< PUBLIC FUNCTIONS >>>>>> 00021 //<<<<<< CLASS DECLARATIONS >>>>>> 00022 //<<<<<< INLINE PUBLIC FUNCTIONS >>>>>> 00023 //<<<<<< INLINE MEMBER FUNCTIONS >>>>>> 00024 00025 #endif // CLASSLIB_SYSAPI_FILE_LOCK_H