Changeset 1328 for cpp/common/virtfile/virtfile.h
- Timestamp:
- 12/26/24 01:40:08 (2 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/common/virtfile/virtfile.h
r891 r1328 1 1 // This file is a part of Framsticks SDK. http://www.framsticks.com/ 2 // Copyright (C) 1999-20 19Maciej Komosinski and Szymon Ulatowski.2 // Copyright (C) 1999-2024 Maciej Komosinski and Szymon Ulatowski. 3 3 // See LICENSE.txt for details. 4 4 … … 98 98 virtual bool Vmkdirs(const char* path); 99 99 virtual bool Vdirexists(const char* path, bool is_writable); 100 virtual bool Vdelete(const char* path); 101 struct Stat { bool is_file; time_t modification_time; }; 102 virtual bool Vstat(const char* path, Stat* stat); 103 virtual bool Vsettime(const char* path, double timestamp); 100 104 }; 101 105 … … 113 117 bool Vmkdirs(const char* path); 114 118 bool Vdirexists(const char* path, bool is_writable); 119 bool Vdelete(const char* path); 120 bool Vstat(const char* path, Stat* stat); 121 bool Vsettime(const char* path, double timestamp); 115 122 116 123 class Dir : public VirtDIR … … 135 142 DLLEXP bool Vmkdirs(const char* path); 136 143 DLLEXP bool Vdirexists(const char* path, bool is_writable); 144 DLLEXP bool Vdelete(const char* path); 145 DLLEXP bool Vstat(const char* path, struct VirtFileSystem::Stat *stat); 146 DLLEXP bool Vsettime(const char* path, double timestamp); 137 147 138 148 #ifdef VIRTFILE_OVERLOADING
Note: See TracChangeset
for help on using the changeset viewer.