2014-06-25 16:29:58 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <vector>
|
|
|
|
#include "FileData.h"
|
2017-06-12 16:38:59 +00:00
|
|
|
#include "SystemData.h"
|
2014-06-25 16:29:58 +00:00
|
|
|
|
|
|
|
namespace FileSorts
|
|
|
|
{
|
2017-06-12 16:38:59 +00:00
|
|
|
bool compareName(const FileData* file1, const FileData* file2);
|
2014-06-25 16:29:58 +00:00
|
|
|
bool compareRating(const FileData* file1, const FileData* file2);
|
|
|
|
bool compareTimesPlayed(const FileData* file1, const FileData* fil2);
|
|
|
|
bool compareLastPlayed(const FileData* file1, const FileData* file2);
|
2017-05-20 20:02:41 +00:00
|
|
|
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);
|
2017-06-12 16:38:59 +00:00
|
|
|
bool compareSystem(const FileData* file1, const FileData* file2);
|
2014-06-25 16:29:58 +00:00
|
|
|
|
|
|
|
extern const std::vector<FileData::SortType> SortTypes;
|
|
|
|
};
|