2014-06-25 16:29:58 +00:00
|
|
|
#pragma once
|
2017-10-31 17:12:50 +00:00
|
|
|
#ifndef ES_APP_FILE_SORTS_H
|
|
|
|
#define ES_APP_FILE_SORTS_H
|
2014-06-25 16:29:58 +00:00
|
|
|
|
|
|
|
#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;
|
|
|
|
};
|
2017-10-31 17:12:50 +00:00
|
|
|
|
|
|
|
#endif // ES_APP_FILE_SORTS_H
|