mirror of
https://github.com/danog/Telegram.git
synced 2024-12-04 02:17:51 +01:00
31 lines
879 B
C
31 lines
879 B
C
|
//
|
||
|
// GDURLMetadata.h
|
||
|
// GDFileManagerExample
|
||
|
//
|
||
|
// Created by Graham Dennis on 17/07/13.
|
||
|
// Copyright (c) 2013 Graham Dennis. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import <Foundation/Foundation.h>
|
||
|
|
||
|
@class GDGoogleDriveURLMetadata;
|
||
|
|
||
|
@protocol GDURLMetadataProperties <NSObject>
|
||
|
|
||
|
@property (nonatomic, readonly, getter = isDirectory) BOOL directory;
|
||
|
@property (nonatomic, readonly) NSInteger fileSize;
|
||
|
@property (nonatomic, readonly, copy) NSString *fileVersionIdentifier;
|
||
|
@property (nonatomic, readonly, copy) NSString *filename;
|
||
|
@property (nonatomic, readonly, getter = isReadOnly) BOOL readOnly;
|
||
|
@property (nonatomic, readonly) GDGoogleDriveURLMetadata *driveMetadata;
|
||
|
- (BOOL)isValid;
|
||
|
|
||
|
@end
|
||
|
|
||
|
@interface GDURLMetadata : NSObject <GDURLMetadataProperties, NSCoding>
|
||
|
|
||
|
@property (nonatomic, readonly, strong) NSURL *url;
|
||
|
@property (nonatomic, readonly, strong) NSURL *canonicalURL;
|
||
|
|
||
|
@end
|