mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-30 18:15:39 +00:00
d0cdbf2159
- Refactoring System Environment data - Added Virtual System Manager class - Added "all", "favorites" and "last played" systems - Added GuiInfoPopup class for notifications - Added Favorites to metadata, as well as a shortcut to toggle favorites - Added warning if enabling systems but themes don't support it - Added "filter by favorites" per system - Adjusted "Go to Random Game" behavior to account for the fact that we now have an "All Games" system - Added "sort by system name" for the collections
22 lines
852 B
C++
22 lines
852 B
C++
#pragma once
|
|
|
|
#include <vector>
|
|
#include "FileData.h"
|
|
#include "SystemData.h"
|
|
|
|
namespace FileSorts
|
|
{
|
|
bool compareName(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);
|
|
bool compareSystem(const FileData* file1, const FileData* file2);
|
|
|
|
extern const std::vector<FileData::SortType> SortTypes;
|
|
};
|