@@ -12,13 +12,17 @@ * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ #import "OFObject.h" +#import "OFString.h" OF_ASSUME_NONNULL_BEGIN +@class OFDate; +@class OFNumber; + /** * @protocol OFArchiveEntry OFArchiveEntry.h ObjFW/OFArchiveEntry.h * * @brief A class which represents an entry in an archive. */ @@ -36,10 +40,52 @@ /** * @brief The uncompressed size of the entry's file. */ @property (readonly, nonatomic) unsigned long long uncompressedSize; + +@optional +/** + * @brief The modification date of the file. + */ +@property (readonly, retain, nonatomic) OFDate *modificationDate; + +/** + * @brief The comment of the entry's file. + */ +@property OF_NULLABLE_PROPERTY (readonly, copy, nonatomic) + OFString *fileComment; + +/** + * @brief The POSIX permissions of the file. + */ +@property OF_NULLABLE_PROPERTY (readonly, retain, nonatomic) + OFNumber *POSIXPermissions; + +/** + * @brief The file owner's account ID. + */ +@property OF_NULLABLE_PROPERTY (readonly, retain, nonatomic) + OFNumber *ownerAccountID; + +/** + * @brief The file owner's group account ID. + */ +@property OF_NULLABLE_PROPERTY (readonly, retain, nonatomic) + OFNumber *groupOwnerAccountID; + +/** + * @brief The file owner's account name. + */ +@property OF_NULLABLE_PROPERTY (readonly, retain, nonatomic) + OFString *ownerAccountName; + +/** + * @brief The file owner's group account name. + */ +@property OF_NULLABLE_PROPERTY (readonly, retain, nonatomic) + OFString *groupOwnerAccountName; @end OF_ASSUME_NONNULL_END #import "OFMutableArchiveEntry.h"