Landmark list in- and output

Landmark list in- and output — Functions related to the in/output of landmark lists.

Synopsis

MiaLandmarklist *   mia_landmarklist_new_from_file      (const gchar *filename);
gboolean            mia_landmarklist_save               (MiaLandmarklist *lml,
                                                         const gchar *filename);

Description

These functions handle the in- and output of landmark lists to and from XML files.

Details

mia_landmarklist_new_from_file ()

MiaLandmarklist *   mia_landmarklist_new_from_file      (const gchar *filename);

Create and load a landmark list from an XML file.

filename :

a file name string

Returns :

the new MiaLandmarklist if loading was successful and NULL otherwise

mia_landmarklist_save ()

gboolean            mia_landmarklist_save               (MiaLandmarklist *lml,
                                                         const gchar *filename);

Save the landmark list to an XML file.

lml :

a landmark list

filename :

a file name string

Returns :

TRUE if saving was successful, FALSE otherwise