mirror of
https://github.com/joel16/VITA-Homebrew-Sorter.git
synced 2024-11-26 21:00:27 +00:00
27 lines
365 B
C++
27 lines
365 B
C++
#pragma once
|
|
|
|
typedef struct {
|
|
bool beta_features = false;
|
|
int sort_by = 0;
|
|
int sort_folders = 0;
|
|
int sort_mode = 0;
|
|
} config_t;
|
|
|
|
extern config_t cfg;
|
|
|
|
enum SortBy {
|
|
SortTitle,
|
|
SortTitleID
|
|
};
|
|
|
|
enum SortFolders {
|
|
SortBoth,
|
|
SortAppsOnly,
|
|
SortFoldersOnly
|
|
};
|
|
|
|
namespace Config {
|
|
int Save(config_t &config);
|
|
int Load(void);
|
|
}
|