gva-history
gva-history — Arcade History Management
|
|
Description
These functions manage the arcade history information shown in the
Properties window.
Functions
gva_history_init ()
gboolean
gva_history_init (GError **error);
Scans the arcade history file and creates an index of games. If an
error occurs, it returns FALSE and sets error
.
This function should be called once when the application starts.
Returns
TRUE on success, FALSE if an error occurred
gva_history_lookup ()
gchar *
gva_history_lookup (const gchar *game,
GError **error);
Returns arcade history information for game
. If an error occurs,
it returns NULL and sets error
.
Returns
history for game
, or NULL if an error occurred
gva_history_lookup_id ()
guint
gva_history_lookup_id (const gchar *game);
Returns the numeric ID for game
at http://www.arcade-history.com/.
This is used to help locate game-specific resources on the website.
Returns
ID for game
, or zero if unknown