Wxwidgets graphics plugin
[lsnes.git] / platform / wxwidgets / src / callrom.hpp
blob9a741471828c3f26fff8450c77a79a08abc87d7f
1 #ifndef _wxwidgets_callrom__hpp__included__
2 #define _wxwidgets_callrom__hpp__included__
4 #include "rom.hpp"
5 #include <wx/string.h>
6 #include <string>
8 enum rom_type romtype_from_string(const std::string& str);
9 enum rom_type romtype_from_string(const wxString& str);
10 wxString romname_wxs(enum rom_type rtype, unsigned index);
11 std::string romname_stds(enum rom_type rtype, unsigned index);
12 unsigned fill_rom_names(enum rom_type rtype, wxString* array);
13 unsigned romname_to_index(enum rom_type rtype, const wxString& name);
14 struct loaded_slot& get_rom_slot(struct loaded_rom& rom, unsigned index);
15 enum rom_region region_from_string(const std::string& str);
16 enum rom_region region_from_string(const wxString& str);
17 bool has_forced_region(enum rom_type rtype);
18 bool has_forced_region(const std::string& str);
19 bool has_forced_region(const wxString& str);
20 wxString forced_region_for_romtype(enum rom_type rtype);
21 wxString forced_region_for_romtype(const std::string& str);
22 wxString forced_region_for_romtype(const wxString& str);
23 unsigned populate_region_choices(wxString* array);
24 unsigned populate_system_choices(wxString* array);
26 #endif