• BlackBerry Dynamics
  • Runtime library for iOS applications
  • 10.2.0.83
platform/apple/ios/build/GD.framework/Headers/GDFileSystem.h
Go to the documentation of this file.
1 /*
2  * (c) 2017 BlackBerry Limited. All rights reserved.
3  */
4 
5 #ifndef __GD_FILE_SYSTEM_H__
6 #define __GD_FILE_SYSTEM_H__
7 
8 #import <Foundation/Foundation.h>
9 #import "GDCReadStream.h"
10 #import "GDCWriteStream.h"
11 #import "GDFileStat.h"
13 
14 /* \cond DOXYGEN_IGNORE */
15 #ifndef __has_extension
16 #define __has_extension(x) 0 // Compatibility with non-clang compilers.
17 #endif
18 /* \endcond */
19 
20 /* \cond DOXYGEN_IGNORE */
21 #if __has_extension(attribute_deprecated_with_message)
22 # define DEPRECATE_GDFILESYSTEMERROR __attribute__((deprecated("Use GDFileManagerErrorDomain instead.")))
23 #else
24 # define DEPRECATE_GDFILESYSTEMERROR __attribute__((deprecated))
25 #endif
26 /* \endcond */
27 
42 extern NSString* const GDFileSystemErrorDomain DEPRECATE_GDFILESYSTEMERROR;
43 
44 typedef NS_ENUM(NSInteger, GDFileSystemErr)
45 {
48  GDFileSystemErrPathDoesntExist __deprecated_enum_msg("Use GDFileManagerErrorPathDoesNotExist instead.") = 100,
49 
52  GDFileSystemErrIOError __deprecated_enum_msg("Use GDFileManagerErrorIOError instead.") = 101,
53 
56  GDFileSystemErrPermissionError __deprecated_enum_msg("Use GDFileManagerErrorPermissionError instead.") = 102,
57 
60  GDFileSystemErrDirNotEmpty __deprecated_enum_msg("Use GDFileManagerErrorDirectoryNotEmpty instead.") = 103,
61 
64  GDFileSystemErrUnknownError __deprecated_enum_msg("Use GDFileManagerErrorUnknownError instead.") = 500
65 };
66 
70 #undef DEPRECATE_GDFILESYSTEMERROR
71 #endif /* __GD_FILE_SYSTEM_H__ */
GDFileSystemErrUnknownError
@ GDFileSystemErrUnknownError
An unknown error occured.
Definition: platform/apple/ios/build/GD.framework/Headers/GDFileSystem.h:64
GDFileSystemErrIOError
@ GDFileSystemErrIOError
IO error occurred during a low-level read or write operation.
Definition: platform/apple/ios/build/GD.framework/Headers/GDFileSystem.h:52
GDFileSystemErrorDomain
NSString *const GDFileSystemErrorDomain
Error domain for file system errors.
GDFileSystemErrPathDoesntExist
@ GDFileSystemErrPathDoesntExist
Specified path does not exist.
Definition: platform/apple/ios/build/GD.framework/Headers/GDFileSystem.h:48
GDCWriteStream.h
GDCReadStream.h
GDFileSystemErrPermissionError
@ GDFileSystemErrPermissionError
Permissions error when attempting to access part of the filesystem.
Definition: platform/apple/ios/build/GD.framework/Headers/GDFileSystem.h:56
GDFileSystemErr
GDFileSystemErr
Definition: platform/apple/ios/build/GD.framework/Headers/GDFileSystem.h:44
GDFileStat.h
GDPersistentStoreCoordinator.h
GDFileSystemErrDirNotEmpty
@ GDFileSystemErrDirNotEmpty
Attempt to delete a directory that was not empty.
Definition: platform/apple/ios/build/GD.framework/Headers/GDFileSystem.h:60