| GNOME Video Arcade Reference Manual | ||||
|---|---|---|---|---|
gboolean gva_categories_init (GError **error); gchar* gva_categories_lookup (const gchar *game, GError **error); gchar* gva_mame_version_lookup (const gchar *game, GError **error);
These functions provide a game's category and its initial MAME version.
The information is read from a catver.ini file.
gboolean gva_categories_init (GError **error);
Loads the category file. If an error occurs, it returns FALSE and
sets error.
This function should be called once when the application starts.
gchar* gva_categories_lookup (const gchar *game, GError **error);
Returns the category for game. If an error occurs, it returns
NULL and sets error.