2017-05-26 15:33:18 +02:00
|
|
|
//
|
|
|
|
// Copyright (c) 2017 Open Whisper Systems. All rights reserved.
|
|
|
|
//
|
2016-09-21 14:37:51 +02:00
|
|
|
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
2017-10-12 05:03:28 +02:00
|
|
|
extern const CGFloat kExpirationTimerViewSize;
|
|
|
|
|
2016-09-21 14:37:51 +02:00
|
|
|
@interface OWSExpirationTimerView : UIView
|
|
|
|
|
2017-10-12 06:36:40 +02:00
|
|
|
- (instancetype)init NS_UNAVAILABLE;
|
|
|
|
- (instancetype)initWithFrame:(CGRect)frame NS_UNAVAILABLE;
|
|
|
|
- (nullable instancetype)initWithCoder:(NSCoder *)aDecoder NS_UNAVAILABLE;
|
|
|
|
- (instancetype)initWithExpiration:(uint64_t)expirationTimestamp
|
|
|
|
initialDurationSeconds:(uint32_t)initialDurationSeconds NS_DESIGNATED_INITIALIZER;
|
2016-09-21 14:37:51 +02:00
|
|
|
|
2017-10-12 06:36:40 +02:00
|
|
|
- (void)ensureAnimations;
|
|
|
|
|
|
|
|
- (void)clearAnimations;
|
2016-09-21 14:37:51 +02:00
|
|
|
|
|
|
|
@end
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|