gva-favorites

gva-favorites — Favorite Games Management

Functions

Description

These functions manipulate the user's list of favorite games.

Functions

gva_favorites_copy ()

GList *
gva_favorites_copy (void);

Returns a copy of the favorite games list. The contents of the list must not be freed. The list itself should be freed with g_list_free().

Returns

a copy of the favorite games list


gva_favorites_insert ()

void
gva_favorites_insert (const gchar *game);

Inserts game into the favorite games list.

Parameters

game

the name of a game

 

gva_favorites_remove ()

void
gva_favorites_remove (const gchar *game);

Removes game from the favorite games list.

Parameters

game

the name of a game

 

gva_favorites_contains ()

gboolean
gva_favorites_contains (const gchar *game);

Returns TRUE if the favorite games list contains game .

Parameters

game

the name of a game

 

Returns

TRUE if game is a favorite, otherwise FALSE