-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Removed ScrobblingServiceBase"
This reverts commit 816dcdd.
- Loading branch information
Showing
10 changed files
with
64 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { Observable } from 'rxjs'; | ||
import { TrackModel } from '../track/track-model'; | ||
import { SignInState } from './sign-in-state'; | ||
|
||
export abstract class ScrobblingServiceBase { | ||
public abstract signInStateChanged$: Observable<SignInState>; | ||
public abstract get signInState(): SignInState; | ||
public abstract username: string; | ||
public abstract password: string; | ||
public abstract initialize(): void; | ||
public abstract signInAsync(): Promise<void>; | ||
public abstract signOut(): void; | ||
public abstract sendTrackLoveAsync(track: TrackModel, love: boolean): Promise<void>; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.