1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-02 09:27:55 +01:00
Telegram/Telegraph/TGAudioSliderViewModel.h

28 lines
762 B
C
Raw Normal View History

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