forked from Alxandr/SpotiFire
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Continued work on playlist. Still not implemented, but compiles again.
- Loading branch information
Showing
17 changed files
with
246 additions
and
30 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using System; | ||
|
||
namespace SpotiFire.SpotifyLib | ||
{ | ||
public class DescriptionEventArgs : EventArgs | ||
{ | ||
private string description; | ||
public DescriptionEventArgs(string description) | ||
{ | ||
this.description = description; | ||
} | ||
} | ||
} |
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,13 @@ | ||
using System; | ||
|
||
namespace SpotiFire.SpotifyLib | ||
{ | ||
public class ImageEventArgs : EventArgs | ||
{ | ||
string imageId; | ||
public ImageEventArgs(string imageId) | ||
{ | ||
this.imageId = imageId; | ||
} | ||
} | ||
} |
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,13 @@ | ||
using System; | ||
|
||
namespace SpotiFire.SpotifyLib | ||
{ | ||
public class PlaylistUpdateEventArgs : EventArgs | ||
{ | ||
private bool complete; | ||
public PlaylistUpdateEventArgs(bool complete) | ||
{ | ||
this.complete = complete; | ||
} | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
SpotiFire.SpotifyLib/EventArgs/TrackCreatedChangedEventArgs.cs
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,16 @@ | ||
| ||
using System; | ||
namespace SpotiFire.SpotifyLib | ||
{ | ||
public class TrackCreatedChangedEventArgs : TrackEventArgs | ||
{ | ||
private DateTime when; | ||
//TODO: Implement user private User who | ||
public TrackCreatedChangedEventArgs(ITrack track, DateTime when/*, User who*/) | ||
: base(track) | ||
{ | ||
this.when = when; | ||
//this.who = who; | ||
} | ||
} | ||
} |
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,13 @@ | ||
using System; | ||
|
||
namespace SpotiFire.SpotifyLib | ||
{ | ||
public class TrackEventArgs : EventArgs | ||
{ | ||
private ITrack track; | ||
public TrackEventArgs(ITrack track) | ||
{ | ||
this.track = track; | ||
} | ||
} | ||
} |
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,13 @@ | ||
| ||
namespace SpotiFire.SpotifyLib | ||
{ | ||
public class TrackSeenEventArgs : TrackEventArgs | ||
{ | ||
bool seen; | ||
public TrackSeenEventArgs(ITrack track, bool seen) | ||
: base(track) | ||
{ | ||
this.seen = seen; | ||
} | ||
} | ||
} |
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.