lldir_mac.h

Go to the documentation of this file.
00001 
00032 #ifndef LL_LLDIR_MAC_H
00033 #define LL_LLDIR_MAC_H
00034 
00035 #include "lldir.h"
00036 
00037 #include <dirent.h>
00038 
00039 class LLDir_Mac : public LLDir
00040 {
00041 public:
00042         LLDir_Mac();
00043         virtual ~LLDir_Mac();
00044 
00045         virtual void initAppDirs(const std::string &app_name);
00046 public: 
00047         virtual S32 deleteFilesInDir(const std::string &dirname, const std::string &mask);
00048         virtual std::string getCurPath();
00049         virtual U32 countFilesInDir(const std::string &dirname, const std::string &mask);
00050         virtual BOOL getNextFileInDir(const std::string &dirname, const std::string &mask, std::string &fname, BOOL wrap);
00051         virtual void getRandomFileInDir(const std::string &dirname, const std::string &ask, std::string &fname);
00052         virtual BOOL fileExists(const std::string &filename);
00053 
00054 private:
00055         int mCurrentDirIndex;
00056         int mCurrentDirCount;
00057         std::string mCurrentDir;
00058 };
00059 
00060 #endif // LL_LLDIR_MAC_H
00061 
00062 

Generated on Thu Jul 1 06:08:24 2010 for Second Life Viewer by  doxygen 1.4.7