00001 #ifndef _SOLARIS_DIRECTORY_H_
00002 #define _SOLARIS_DIRECTORY_H_
00003
00004 #include <string>
00005 #include <dirent.h>
00006 #include "OSDependent/OSDependent.h"
00007
00008 class DirectoryEntry;
00009
00010
00011
00012
00013 class ClassExport Directory {
00014 private:
00015 bool _hasFirst;
00016 std::string _name;
00017 DIR * _handle;
00018
00019 public:
00020 Directory(const char *name);
00021 ~Directory();
00022
00023 int open();
00024 int close();
00025 int rewind();
00026 int seek(int pos);
00027 const char *name() const;
00028 DirectoryEntry *read();
00029 };
00030
00031 #endif // _SOLARIS_DIRECTORY_H_