Platform_Win32_FileSystem.h
Go to the documentation of this file.00001 00010 #ifndef __Platform_Win32_FileSystem_H__ 00011 #define __Platform_Win32_FileSystem_H__ 00012 00013 // Includes 00014 #include "Platform_FileSystem.h" 00015 00016 // Forward declares 00017 00018 // Platform_Win32_FileSystem 00019 class Platform_Win32_FileSystem:public Platform_FileSystem 00020 { 00021 00022 public: 00023 Platform_Win32_FileSystem(); 00024 00025 virtual ~Platform_Win32_FileSystem(); 00026 00027 virtual void SetLogging(bool enabled); 00028 00029 virtual Platform_FileSystem_Directory* CreateDirectoryObject(const char* path); 00030 virtual Platform_FileSystem_File* CreateFileObject(const char* path); 00031 00032 virtual void RescanDevices(); 00033 virtual int GetDeviceCount(); 00034 virtual const Platform_FileSystem_Device* GetDevice(int index); 00035 00036 private: 00037 void EmptyDeviceList(); 00038 private: 00039 static const int MAX_DEVICES=64; 00040 int deviceCount_; 00041 Platform_FileSystem_Device* devices_[MAX_DEVICES]; 00042 bool logging_; 00043 00044 }; 00045 00046 #endif /* __Platform_Win32_FileSystem_H__ */
Reproduction/republishing of any material on this site without permission is strictly prohibited.
