AgsPersistable

AgsPersistable

Synopsis

typedef             AgsPersistable;
struct              AgsPersistableInterface;
AgsPersistable *    ags_persistable_read                (AgsPersistable *persistable,
                                                         xmlDocPtr doc,
                                                         xmlNodePtr node);
void                ags_persistable_read_link           (AgsPersistable *persistable,
                                                         xmlDocPtr doc,
                                                         xmlNodePtr node);
xmlNodePtr          ags_persistable_write               (AgsPersistable *persistable,
                                                         xmlDocPtr doc);
void                ags_persistable_write_link          (AgsPersistable *persistable,
                                                         xmlDocPtr doc,
                                                         xmlNodePtr node);

Description

Details

AgsPersistable

typedef void AgsPersistable;

struct AgsPersistableInterface

struct AgsPersistableInterface {
  GTypeInterface interface;
  
  AgsPersistable* (*read)(AgsPersistable *persistable, xmlDocPtr doc, xmlNodePtr node);
  void (*read_link)(AgsPersistable *persistable, xmlDocPtr doc, xmlNodePtr node);

  xmlNodePtr (*write)(AgsPersistable *persistable, xmlDocPtr doc);
  void (*write_link)(AgsPersistable *persistable, xmlDocPtr doc, xmlNodePtr node);
};

ags_persistable_read ()

AgsPersistable *    ags_persistable_read                (AgsPersistable *persistable,
                                                         xmlDocPtr doc,
                                                         xmlNodePtr node);

ags_persistable_read_link ()

void                ags_persistable_read_link           (AgsPersistable *persistable,
                                                         xmlDocPtr doc,
                                                         xmlNodePtr node);

ags_persistable_write ()

xmlNodePtr          ags_persistable_write               (AgsPersistable *persistable,
                                                         xmlDocPtr doc);

ags_persistable_write_link ()

void                ags_persistable_write_link          (AgsPersistable *persistable,
                                                         xmlDocPtr doc,
                                                         xmlNodePtr node);