mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-27 00:25:38 +00:00
6de94ecbfb
* Adding sorting options for the number of players, release date, genre, developer and publisher.
20 lines
765 B
C++
20 lines
765 B
C++
#pragma once
|
|
|
|
#include <vector>
|
|
#include "FileData.h"
|
|
|
|
namespace FileSorts
|
|
{
|
|
bool compareFileName(const FileData* file1, const FileData* file2);
|
|
bool compareRating(const FileData* file1, const FileData* file2);
|
|
bool compareTimesPlayed(const FileData* file1, const FileData* fil2);
|
|
bool compareLastPlayed(const FileData* file1, const FileData* file2);
|
|
bool compareNumPlayers(const FileData* file1, const FileData* file2);
|
|
bool compareReleaseDate(const FileData* file1, const FileData* file2);
|
|
bool compareGenre(const FileData* file1, const FileData* file2);
|
|
bool compareDeveloper(const FileData* file1, const FileData* file2);
|
|
bool comparePublisher(const FileData* file1, const FileData* file2);
|
|
|
|
extern const std::vector<FileData::SortType> SortTypes;
|
|
};
|