2017-03-15 14:23:21 +01:00
|
|
|
//
|
2019-03-15 17:34:33 +01:00
|
|
|
// Copyright (c) 2019 Open Whisper Systems. All rights reserved.
|
2017-03-15 14:23:21 +01:00
|
|
|
//
|
|
|
|
|
2017-03-15 16:00:32 +01:00
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
2017-03-15 14:23:21 +01:00
|
|
|
@class TSAttachmentStream;
|
|
|
|
|
2017-10-12 22:19:07 +02:00
|
|
|
// This entity is used to display upload progress for outgoing
|
2017-10-10 22:13:54 +02:00
|
|
|
// attachments in conversation view cells.
|
|
|
|
//
|
2017-03-15 14:23:21 +01:00
|
|
|
// During attachment uploads we want to:
|
|
|
|
//
|
|
|
|
// * Dim the media view using a mask layer.
|
|
|
|
// * Show and update a progress bar.
|
|
|
|
// * Disable any media view controls using a callback.
|
2017-10-23 23:23:41 +02:00
|
|
|
@interface AttachmentUploadView : UIView
|
2017-03-15 14:23:21 +01:00
|
|
|
|
2019-03-15 17:34:33 +01:00
|
|
|
- (instancetype)initWithAttachment:(TSAttachmentStream *)attachment;
|
2017-03-15 14:23:21 +01:00
|
|
|
|
|
|
|
@end
|
2017-03-15 16:00:32 +01:00
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|