Landmark list in- and output

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

Functions

Description

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

Functions

mia_landmarklist_save ()

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

Save the landmark list to an XML file.

Parameters

lml

a landmark list

 

filename

a file name string

 

Returns

TRUE if saving was successful, FALSE otherwise


mia_landmarklist_new_from_file ()

MiaLandmarklist *
mia_landmarklist_new_from_file (const gchar *filename);

Create and load a landmark list from an XML file.

Parameters

filename

a file name string

 

Returns

the new MiaLandmarklist if loading was successful and NULL otherwise