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

37 lines
1020 B
Objective-C
Executable File

//
// GDRemoteFileService.h
// GDFileManagerExample
//
// Created by Graham Dennis on 26/01/13.
// Copyright (c) 2013 Graham Dennis. All rights reserved.
//
#import "GDFileService.h"
@class GDAPIToken;
@class GDClientManager;
@interface GDRemoteFileService : GDFileService
// Implementation
- (id)initWithClientManager:(GDClientManager *)clientManager;
- (void)linkFromController:(UIViewController *)rootController
apiToken:(GDAPIToken *)apiToken
success:(void (^)(GDFileServiceSession *fileServiceSession))success
failure:(void (^)(NSError *error))failure;
@property (nonatomic, strong, readonly) GDClientManager *clientManager;
// Subclasses must override
+ (Class)clientManagerClass;
- (void)linkUserID:(NSString *)userID apiToken:(GDAPIToken *)apiToken
fromController:(UIViewController *)rootController
success:(void (^)(GDFileServiceSession *fileServiceSession))success
failure:(void (^)(NSError *error))failure;
@end