Platform_FileSystem.h
Go to the documentation of this file.00001 00019 #ifndef __Platform_FileSystem_H__ 00020 #define __Platform_FileSystem_H__ 00021 00022 // Includes 00023 #include "Platform.h" 00024 00025 // Forward declares 00026 class Platform_FileSystem_Directory; 00027 class Platform_FileSystem_File; 00028 class Platform_FileSystem_Device; 00029 00030 // Platform_FileSystem 00031 class Platform_FileSystem 00032 { 00033 public: 00037 virtual ~Platform_FileSystem() { }; 00038 00039 00046 virtual void SetLogging( 00047 bool enabled 00048 ) = 0; 00049 00050 00066 virtual Platform_FileSystem_Directory* CreateDirectoryObject( 00067 const char* path 00068 ) = 0; 00069 00070 00086 virtual Platform_FileSystem_File* CreateFileObject( 00087 const char* path 00088 ) = 0; 00089 00090 00096 virtual void RescanDevices() = 0; 00097 00098 00104 virtual int GetDeviceCount() = 0; 00105 00106 00114 virtual const Platform_FileSystem_Device* GetDevice( 00115 int index 00116 ) = 0; 00117 00118 }; 00119 00120 00121 #endif /* __Platform_FileSystem_H__ */
Reproduction/republishing of any material on this site without permission is strictly prohibited.
