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

25 lines
733 B
Objective-C
Executable File

//
// GDClient.h
// GDFileManagerExample
//
// Created by Graham Dennis on 31/01/13.
// Copyright (c) 2013 Graham Dennis. All rights reserved.
//
#import <Foundation/Foundation.h>
@class GDClientManager;
@class GDClientCredential;
@protocol GDClient <NSObject>
- (id)initWithClientManager:(GDClientManager *)clientManager;
- (id)initWithClientManager:(GDClientManager *)clientManager userID:(NSString *)userID;
- (id)initWithClientManager:(GDClientManager *)clientManager credential:(GDClientCredential *)credential;
@property (nonatomic, readonly, strong) GDClientManager *clientManager;
@property (atomic, strong) GDClientCredential *credential;
@property (nonatomic, readonly, getter = isAvailable) BOOL available;
@end