2014-06-25 16:29:58 +00:00
|
|
|
#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);
|
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);
|
2014-06-25 16:29:58 +00:00
|
|
|
|
|
|
|
extern const std::vector<FileData::SortType> SortTypes;
|
|
|
|
};
|