Top |
RetroCoreDescriptorRetroCoreDescriptor — An object describing the capabilities and requirements of a Libretro core |
RetroCoreDescriptor * retro_core_descriptor_new (const gchar *filename
,GError **error
);
Creates a new RetroCoreDescriptor.
gboolean retro_core_descriptor_has_icon (RetroCoreDescriptor *self
,GError **error
);
Gets whether the core has an icon.
gchar *
retro_core_descriptor_get_uri (RetroCoreDescriptor *self
);
Gets the URI of the file of self
.
gchar *
retro_core_descriptor_get_id (RetroCoreDescriptor *self
);
Gets the ID of self
.
gboolean retro_core_descriptor_get_is_game (RetroCoreDescriptor *self
,GError **error
);
Gets whether the core is a game, and hence can't load games.
gboolean retro_core_descriptor_get_is_emulator (RetroCoreDescriptor *self
,GError **error
);
Gets whether the core is an emulator, and hence need games to be loaded.
char * retro_core_descriptor_get_name (RetroCoreDescriptor *self
,GError **error
);
Gets the name, or NULL
if it doesn't exist.
GIcon * retro_core_descriptor_get_icon (RetroCoreDescriptor *self
,GError **error
);
Gets the icon, or NULL
if it doesn't exist.
char * retro_core_descriptor_get_module (RetroCoreDescriptor *self
,GError **error
);
Gets the module file name, or NULL
if it doesn't exist.
GFile * retro_core_descriptor_get_module_file (RetroCoreDescriptor *self
,GError **error
);
Gets the module file, or NULL
if it doesn't exist.
gboolean retro_core_descriptor_has_platform (RetroCoreDescriptor *self
,const gchar *platform
);
Gets whether the core descriptor declares the given platform.
gboolean retro_core_descriptor_has_firmwares (RetroCoreDescriptor *self
,const gchar *platform
,GError **error
);
Gets whether the platform has associated firmwares.
gboolean retro_core_descriptor_has_firmware_md5 (RetroCoreDescriptor *self
,const gchar *firmware
,GError **error
);
Gets whether the firmware declares its MD5 fingerprint.
gboolean retro_core_descriptor_has_firmware_sha512 (RetroCoreDescriptor *self
,const gchar *firmware
,GError **error
);
Gets whether the firmware declares its SHA512 fingerprint.
gchar ** retro_core_descriptor_get_mime_type (RetroCoreDescriptor *self
,const gchar *platform
,gsize *length
,GError **error
);
Gets the list of MIME types accepted used by the core for this platform.
gchar ** retro_core_descriptor_get_firmwares (RetroCoreDescriptor *self
,const gchar *platform
,gsize *length
,GError **error
);
Gets the list of firmwares used by the core for this platform.
gchar * retro_core_descriptor_get_firmware_path (RetroCoreDescriptor *self
,const gchar *firmware
,GError **error
);
Gets the demanded path to the firmware file, or NULL
.
gchar * retro_core_descriptor_get_firmware_md5 (RetroCoreDescriptor *self
,const gchar *firmware
,GError **error
);
Gets the MD5 fingerprint of the firmware file, or NULL
.
gchar * retro_core_descriptor_get_firmware_sha512 (RetroCoreDescriptor *self
,const gchar *firmware
,GError **error
);
Gets the SHA512 fingerprint of the firmware file, or NULL
.
gboolean retro_core_descriptor_get_is_firmware_mandatory (RetroCoreDescriptor *self
,const gchar *firmware
,GError **error
);
Gets whether the firmware is mandatory for the core to function.
gboolean retro_core_descriptor_get_platform_supports_mime_types (RetroCoreDescriptor *self
,const gchar *platform
,const gchar * const *mime_types
,GError **error
);
Gets whether the platform supports all of the given MIME types.