gva-history

gva-history — Arcade History Management

Synopsis




gboolean            gva_history_init                    (GError **error);
gchar*              gva_history_lookup                  (const gchar *game,
                                                         GError **error);

Description

Details

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.

error : return location for a GError, or NULL
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 FALSE and sets error.

game : the name of a game
error : return location for a GError, or NULL
Returns : TRUE on success, FALSE if an error occurred