mirror of
https://github.com/danog/Telegram.git
synced 2024-12-02 09:27:55 +01:00
44 lines
1.3 KiB
Objective-C
44 lines
1.3 KiB
Objective-C
/*
|
|
* This is the source code of Telegram for iOS v. 1.1
|
|
* It is licensed under GNU GPL v. 2 or later.
|
|
* You should have received a copy of the license in this archive (see LICENSE).
|
|
*
|
|
* Copyright Peter Iakovlev, 2013.
|
|
*/
|
|
|
|
#import "TGCollectionItem.h"
|
|
|
|
#import "TGUser.h"
|
|
#import "ASWatcher.h"
|
|
|
|
@interface TGUserInfoCollectionItem : TGCollectionItem <ASWatcher>
|
|
|
|
@property (nonatomic, strong) ASHandle *actionHandle;
|
|
@property (nonatomic, strong) ASHandle *interfaceHandle;
|
|
|
|
@property (nonatomic) bool automaticallyManageUserPresence;
|
|
@property (nonatomic) bool useRealName;
|
|
@property (nonatomic) bool disableAvatar;
|
|
@property (nonatomic) CGFloat additinalHeight;
|
|
@property (nonatomic) CGSize avatarOffset;
|
|
@property (nonatomic) CGSize nameOffset;
|
|
@property (nonatomic, strong) NSString *customStatus;
|
|
|
|
- (void)setUser:(TGUser *)user animated:(bool)animated;
|
|
- (void)setEditing:(bool)editing animated:(bool)animated;
|
|
|
|
- (void)setUpdatingFirstName:(NSString *)updatingFirstName updatingLastName:(NSString *)updatingLastName;
|
|
|
|
- (void)setUpdatingAvatar:(UIImage *)updatingAvatar hasUpdatingAvatar:(bool)hasUpdatingAvatar;
|
|
- (bool)hasUpdatingAvatar;
|
|
|
|
- (void)updateTimestamp;
|
|
|
|
- (id)visibleAvatarView;
|
|
- (void)makeNameFieldFirstResponder;
|
|
- (void)copyUpdatingAvatarToCacheWithUri:(NSString *)uri;
|
|
- (NSString *)editingFirstName;
|
|
- (NSString *)editingLastName;
|
|
|
|
@end
|