1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-03 09:57:46 +01:00
Telegram/thirdparty/GDFileManager/GDURLMetadata.h
2015-10-01 19:19:52 +03:00

31 lines
879 B
Objective-C
Executable File

//
// 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