| GNOME Video Arcade Reference Manual | ||||
|---|---|---|---|---|
gboolean gva_history_init (GError **error); gchar* gva_history_lookup (const gchar *game, GError **error);
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
|
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
|