Skip to content

Liquid Glass and Apple Music touches for the Spotify iOS app. A GPL-3.0 fork of spoti.pw 0.21.1.

C
437 B
Raw Blame
// The calls SleepTimer.m and SpotifySleepTimer.m make of PlayerState.h, without UIKit; main.m answers them.
#import <Foundation/Foundation.h>
#import "Headers/SPTPlayer.h"
NSString *SGURIString(id uri);
@protocol SGPlayerStateObserver <NSObject>
- (void)playerStateDidChange:(SPTPlayerState *)state;
@optional
- (void)playerStateDidReport:(SPTPlayerState *)state;
@end
void SGAddPlayerStateObserver(id<SGPlayerStateObserver> observer);