Changeset 60
- Timestamp:
- Jan 15, 2007, 11:39:26 PM (18 years ago)
- Location:
- Include
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Include/Classes/System/IO/File.ab
r59 r60 1 2 Enum FileAccess 3 Read 4 ReadWrite 5 Write 6 End Enum 1 7 2 8 Enum FileAttributes … … 17 23 End Enum 18 24 25 Enum FileMode 26 Append 27 Create 28 CreateNew 29 Open 30 OpenOrCreate 31 Truncate 32 End Enum 33 34 Enum FileShare 35 DeleteFile 36 None 37 Read 38 ReadWrite 39 Write 19 40 Class File 20 41 Public … … 115 136 ' TODO: 実装 116 137 End Sub 138 139 Static Function Open( path As String, mode As FileMode ) As FileStream 140 ' TODO: 実装 141 End Function 142 143 Static Function Open( path As String, mode As FileMode, access As FileAccess ) As FileStream 144 ' TODO: 実装 145 End Function 146 147 Static Function Open( path As String, mode As FileMode, access As FileAccess, share As FileShare ) As FileStream 148 ' TODO: 実装 149 End Function 150 151 Static Function OpenRead( path As String ) As FileStream 152 ' TODO: 実装 153 End Function 154 155 Static Function OpenText( path As String ) As StreamReader 156 ' TODO: 実装 157 End Function 158 159 Static Function OpenWrite( path As String ) As FileStream 160 ' TODO: 実装 161 End Function 162 163 Static Function ReadAllBytes( path As String ) As *Byte 164 ' TODO: 実装 165 End Function 166 167 /* Static Function ReadAllLines( path As String ) As Strings 168 ' TODO: 実装 169 End Function */ 170 171 /* Static Function ReadAllLines( path As String, encoding As Encoding ) As Strings 172 ' TODO: 実装 173 End Function */ 174 175 Static Function ReadAllText( path As String ) As String 176 ' TODO: 実装 177 End Function 178 179 Static Function ReadAllText( path As String, encoding As Encoding ) As String 180 ' TODO: 実装 181 End Function 182 183 Static Sub Replace( sourceFileName As String, destinationFileName As String, destinationBackupFileName As String ) 184 ' TODO: 実装 185 End Sub 186 187 Static Sub Replace( sourceFileName As String, destinationFileName As String, destinationBackupFileName As String, ignoreMetadataErrors As Boolean ) 188 ' TODO: 実装 189 End Sub 190 191 Static Sub SetAccessControl( path As String, fileSecurity As FileSecurity ) 192 ' TODO: 実装 193 End Sub 194 195 Static Sub SetAttributes( path As String, fileAttributes As FileAttributes ) 196 ' TODO: 実装 197 End Sub 198 199 Static Sub SetCreationTime( path As String, creationTime As DateTime ) 200 ' TODO: 実装 201 End Sub 202 203 Static Sub SetCreationTimeUtc( path As String, creationTime As DateTime ) 204 ' TODO: 実装 205 End Sub 206 207 Static Sub SetCreationTimeUtc( path As String, creationTimeUtc As DateTime ) 208 ' TODO: 実装 209 End Sub 210 211 Static Sub SetLastAccessTime( path As String, lastAccessTime As DateTime ) 212 ' TODO: 実装 213 End Sub 214 215 Static Sub SetLastAccessTimeUtc( path As String, lastAccessTimeUtc As DateTime ) 216 ' TODO: 実装 217 End Sub 218 219 Static Sub SetLastWriteTime( path As String, lastWriteTime As DateTime ) 220 ' TODO: 実装 221 End Sub 222 223 Static Sub SetLastWriteTimeUtc( path As String, lastWriteTimeUtc As DateTime ) 224 ' TODO: 実装 225 End Sub 226 227 Static Sub WriteAllBytes( path As String, bytes As *Byte ) 228 ' TODO: 実装 229 End Sub 230 231 /* Static Sub WriteAllLines( path As String, contents As Strings ) 232 ' TODO: 実装 233 End Sub */ 234 235 /* Static Sub WriteAllLines( path As String, contents As Strings, encoding As Enconding ) 236 ' TODO: 実装 237 End Sub */ 238 239 Static Sub WriteAllText( path As String, contents As String ) 240 ' TODO: 実装 241 End Sub 242 243 Static Sub WriteAllText( path As String, contents As String, encoding As Enconding ) 244 ' TODO: 実装 245 End Sub 246 117 247 End Class -
Include/system/DumpMemoryLeaks.ab
r54 r60 1 2 /* 3 メモリリーク検出を利用するには、下記の定数をソースコードの先頭でdefineする必要がある。 4 #define CHECK_MEMORY_LEAKS 5 */ 6 7 Class _System_CheckMemoryLeaks 8 End Class 9 10 'メモリが確保されたときに呼び出される 11 Sub _System_MemoryAllocate() 12 End Sub 13 14 'メモリが開放されたときに呼び出される 15 Sub _System_MemoryDeallocate() 16 End Sub 17 18 Sub DumpMemoryLeaks() 19 End Sub
Note:
See TracChangeset
for help on using the changeset viewer.