2014-07-10 16:11:09 +02:00
|
|
|
/*
|
|
|
|
* 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 "TGModernViewModel.h"
|
|
|
|
|
2016-02-25 01:03:51 +01:00
|
|
|
#import <SSignalKit/SSignalKit.h>
|
|
|
|
|
|
|
|
@class TGMusicPlayerStatus;
|
|
|
|
|
2014-07-10 16:11:09 +02:00
|
|
|
@interface TGAudioSliderViewModel : TGModernViewModel
|
|
|
|
|
2016-02-25 01:03:51 +01:00
|
|
|
@property (nonatomic) int64_t audioId;
|
|
|
|
@property (nonatomic) int64_t localAudioId;
|
2014-07-10 16:11:09 +02:00
|
|
|
@property (nonatomic) bool incoming;
|
2016-02-25 01:03:51 +01:00
|
|
|
@property (nonatomic) int32_t duration;
|
2014-07-10 16:11:09 +02:00
|
|
|
@property (nonatomic) bool manualPositionAdjustmentEnabled;
|
2015-10-01 18:19:52 +02:00
|
|
|
@property (nonatomic) bool listenedStatus;
|
2016-02-25 01:03:51 +01:00
|
|
|
@property (nonatomic, strong) TGMusicPlayerStatus *status;
|
2014-07-10 16:11:09 +02:00
|
|
|
|
2016-02-25 01:03:51 +01:00
|
|
|
@property (nonatomic, strong) SSignal *waveformSignal;
|
2014-07-10 16:11:09 +02:00
|
|
|
|
|
|
|
@end
|