// // RFRadioView.h // RadioFree // // #import @class FSPlaylistItem; @class RFRadioView; @class FMLrcView; @class FMSongListModel,FMSongModel; @class FMPAImageView; #import "AudioPlayer.h" @protocol RFRadioViewDelegate -(void)radioView:(RFRadioView *)view musicStop:(NSInteger)playModel; -(void)radioView:(RFRadioView *)view preSwitchMusic:(UIButton *)pre; -(void)radioView:(RFRadioView *)view nextSwitchMusic:(UIButton *)next; -(void)radioView:(RFRadioView *)view playListButton:(UIButton *)btn; -(void)radioView:(RFRadioView *)view downLoadButton:(UIButton *)btn; -(void)radioView:(RFRadioView *)view collectButton:(UIButton *)btn; @end @interface RFRadioView : UIView { UISlider *progress; NSTimer *_progressUpdateTimer; NSTimer *_playbackSeekTimer; double _seekToPoint; BOOL _paused; UILabel *_currentPlaybackTime; UILabel * _totalPlaybackTime; UIButton * _playButton; UIButton * _preButton; UIButton * _nextButton; UIButton * _playbackButton; UIButton * _playListButton; UIButton * _collectButton; UIButton * downLoadButton; UILabel * noLrcLabel; BOOL isPlaying; BOOL isPasue; BOOL isLrc; NSInteger isPlayBack; id delegate; FMLrcView * lrcView; FMPAImageView * backImageView; AudioPlayer* audioPlayer; } @property (nonatomic,strong) FMSongListModel * songlistModel; @property (nonatomic,strong) FMSongModel * songModel; @property (nonatomic,strong) FSPlaylistItem *selectedPlaylistItem; @property (nonatomic,assign) id delegate; @property (nonatomic,strong) UIButton * downLoadButton; @property (nonatomic,assign) BOOL only; -(void)playButtonEvent; -(void)setRadioViewLrc; @end