Better structure for song sorter and bugfix for "DateAdded" sorting
This commit is contained in:
1 parent
65d029e333
commit
e1f8bf4843
7 files changed
+118
-135
No files matched your search
@@ -189,7 +189,6 @@ namespace VocaluxeLib
|
||||
{
|
||||
// ReSharper disable InconsistentNaming
|
||||
TR_CONFIG_NONE,
|
||||
//TR_CONFIG_RANDOM,
|
||||
TR_CONFIG_FOLDER,
|
||||
TR_CONFIG_ARTIST,
|
||||
TR_CONFIG_ARTIST_LETTER,
|
||||
|
||||
@@ -279,7 +279,7 @@ namespace VocaluxeLib
|
||||
public interface IDataBase
|
||||
{
|
||||
bool GetCover(string fileName, ref CTexture texture, int coverSize);
|
||||
bool GetDataBaseSongInfos(string artist, string title, out int numPlayed, out string dateAdded, out int highscoreID);
|
||||
bool GetDataBaseSongInfos(string artist, string title, out int numPlayed, out DateTime dateAdded, out int highscoreID);
|
||||
}
|
||||
|
||||
public interface IControllers
|
||||
|
||||
@@ -172,7 +172,7 @@ namespace VocaluxeLib.Songs
|
||||
public readonly List<string> Languages = new List<string>();
|
||||
|
||||
public int DataBaseSongID = -1;
|
||||
public string DateAdded = "";
|
||||
public DateTime DateAdded = DateTime.Today;
|
||||
public int NumPlayed;
|
||||
public int NumPlayedSession;
|
||||
|
||||
|
||||
Reference in new issue
Block a user