00001 #ifndef _DIRECTORY_H_ 00002 #define _DIRECTORY_H_ 00003 00004 #if !defined(WINNT) && !defined(SOLARIS) && !defined(WINCE) 00005 # error "Please define an operating system type." 00006 #endif 00007 00008 /** 00009 * Structure of a directory entry. 00010 */ 00011 class DirectoryEntry { 00012 public: 00013 const char *name; // name of entry 00014 int size; // size of entry 00015 int atime; // last access time 00016 int ctime; // last change time 00017 int mtime; // last modify time 00018 bool directory; // is a directory 00019 }; 00020 00021 #if defined WINNT 00022 # include "OSDependent/WinNT/Directory.h" 00023 #elif defined SOLARIS 00024 # include "OSDependent/Solaris/Directory.h" 00025 #elif defined WINCE 00026 # include "OSDependent/WinCE/Directory.h" 00027 #endif 00028 00029 #endif // _DIRECTORY_H_
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001