• BlackBerry Dynamics
  • Runtime library for iOS applications
  • 12.0.1.79
GDFileStat.h
Go to the documentation of this file.
1 /*
2  * (c) 2017 BlackBerry Limited. All rights reserved.
3  */
4 
5 // GDFileStat.h
6 
7 #ifndef GDMac_GDFileStat_h
8 #define GDMac_GDFileStat_h
9 
10 /* \cond DOXYGEN_IGNORE */
11 #ifndef __has_extension
12 #define __has_extension(x) 0 // Compatibility with non-clang compilers.
13 #endif
14 /* \endcond */
15 
16 /* \cond DOXYGEN_IGNORE */
17 #if __has_extension(attribute_deprecated_with_message)
18 # define DEPRECATE_GDFILESTAT __attribute__((deprecated("Use NSDictionary collection with NSFileAttributeKey instead.")))
19 #else
20 # define DEPRECATE_GDFILESTAT __attribute__((deprecated))
21 #endif
22 /* \endcond */
23 
39 typedef struct
40 {
41  /* @deprecated
42  * This attribute is deprecated and will be removed in a future release.
43  * It is in a deprecated structure, GDFileStat.
44  *
45  * File size in bytes.
46  */
47  unsigned long long fileLen __deprecated_msg("Use NSFileSize instead.");
48 
49  /* @deprecated
50  * This attribute is deprecated and will be removed in a future release.
51  * It is in a deprecated structure, GDFileStat.
52  *
53  * Timestamp for when file was last modified.
54  */
55  unsigned long lastModifiedTime __deprecated_msg("Use NSFileModificationDate instead.");
56 
57  /* @deprecated
58  * This attribute is deprecated and will be removed in a future release.
59  * It is in a deprecated structure, GDFileStat.
60  *
61  * \ss_true for directories, \ss_false for plain files.
62  */
63  bool isFolder __deprecated_msg("Use NSFileTypeDirectory instead.");
64 } GDFileStat DEPRECATE_GDFILESTAT;
65 
66 
67 #endif
GDFileStat
Definition: GDFileStat.h:39