2017-07-31 23:12:09 +02:00
|
|
|
//
|
|
|
|
// Copyright (c) 2017 Open Whisper Systems. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
|
|
|
@class SignalAccount;
|
|
|
|
@class AvatarViewHelper;
|
|
|
|
@class OWSContactsManager;
|
|
|
|
@class TSThread;
|
|
|
|
|
|
|
|
@protocol AvatarViewHelperDelegate <NSObject>
|
|
|
|
|
2017-08-01 17:31:00 +02:00
|
|
|
- (NSString *)avatarActionSheetTitle;
|
|
|
|
|
2017-07-31 23:12:09 +02:00
|
|
|
- (void)avatarDidChange:(UIImage *)image;
|
|
|
|
|
|
|
|
- (UIViewController *)fromViewController;
|
|
|
|
|
|
|
|
@end
|
|
|
|
|
|
|
|
#pragma mark -
|
|
|
|
|
|
|
|
typedef void (^AvatarViewSuccessBlock)();
|
|
|
|
|
|
|
|
@interface AvatarViewHelper : NSObject
|
|
|
|
|
|
|
|
@property (nonatomic, weak) id<AvatarViewHelperDelegate> delegate;
|
|
|
|
|
|
|
|
- (void)showChangeAvatarUI;
|
|
|
|
|
|
|
|
@end
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|