segatools-configurator/games/io.h

28 lines
672 B
C
Raw Permalink Normal View History

2024-04-14 12:32:49 +02:00
//
// Created by beerpsi on 4/14/2024.
//
#ifndef SEGATOOLS_CONFIGURATOR_IO_H
#define SEGATOOLS_CONFIGURATOR_IO_H
#include <string>
#include <vector>
#include "../button.h"
namespace games {
enum HWFamily {
HW_FAMILY_UNKNOWN,
HW_FAMILY_AMEX,
HW_FAMILY_ALLS,
};
const std::vector<std::string> &get_games();
HWFamily get_hw_family(const std::string &game);
std::vector<Button> *get_buttons(const std::string &game);
std::vector<Button> &get_sw_buttons(const std::string &game);
std::vector<std::string> *get_game_file_hints(const std::string &game);
}
#endif //SEGATOOLS_CONFIGURATOR_IO_H