18 #ifndef MT32EMU_ROMINFO_H 19 #define MT32EMU_ROMINFO_H 33 const File::SHA1Digest &sha1Digest;
34 enum Type {PCM, Control, Reverb} type;
35 const char *shortName;
36 const char *description;
54 MT32EMU_EXPORT
static const ROMInfo *getROMInfo(
File *file);
58 MT32EMU_EXPORT_V(2.5)
static const ROMInfo *getROMInfo(
File *file,
const ROMInfo *
const *romInfos);
61 MT32EMU_EXPORT
static void freeROMInfo(
const ROMInfo *romInfo);
67 MT32EMU_EXPORT
static const ROMInfo **getROMInfoList(Bit32u types, Bit32u pairTypes);
70 MT32EMU_EXPORT
static void freeROMInfoList(
const ROMInfo **romInfos);
75 MT32EMU_EXPORT_V(2.5)
static const ROMInfo *
const *getAllROMInfos(Bit32u *itemCount = NULL);
79 MT32EMU_EXPORT_V(2.5)
static const ROMInfo *
const *getFullROMInfos(Bit32u *itemCount = NULL);
83 MT32EMU_EXPORT_V(2.5)
static const ROMInfo *
const *getPartialROMInfos(Bit32u *itemCount = NULL);
97 MT32EMU_EXPORT
static const ROMImage *makeROMImage(
File *file);
102 MT32EMU_EXPORT_V(2.5)
static const ROMImage *makeROMImage(
File *file,
const ROMInfo *
const *romInfos);
108 MT32EMU_EXPORT_V(2.5)
static const ROMImage *makeROMImage(
File *file1,
File *file2);
111 MT32EMU_EXPORT
static void freeROMImage(
const ROMImage *romImage);
117 MT32EMU_EXPORT
File *getFile()
const;
121 MT32EMU_EXPORT_V(2.5)
bool isFileUserProvided()
const;
122 MT32EMU_EXPORT
const ROMInfo *getROMInfo()
const;
125 static const ROMImage *makeFullROMImage(Bit8u *data,
size_t dataSize);
146 MT32EMU_EXPORT_V(2.5)
static const MachineConfiguration *
const *getAllMachineConfigurations(Bit32u *itemCount = NULL);
149 MT32EMU_EXPORT_V(2.5)
const char *getMachineID()
const;
158 MT32EMU_EXPORT_V(2.5)
const ROMInfo *
const *getCompatibleROMInfos(Bit32u *itemCount = NULL)
const;
161 const char *
const machineID;
162 const ROMInfo *
const *
const romInfos;
163 const Bit32u romInfosCount;
175 #endif // #ifndef MT32EMU_ROMINFO_H
Definition: ROMInfo.h:141