AgsSimpleFile

AgsSimpleFile — read/write XML file

Stability Level

Stable, unless otherwise indicated

Functions

Types and Values

Includes

#include <ags/app/file/ags_simple_file.h>

Description

The AgsSimpleFile is an object to read or write files using XML. It is the persisting layer of Advanced Gtk+ Sequencer.

Functions

ags_simple_file_str2md5 ()

gchar *
ags_simple_file_str2md5 (gchar *content,
                         guint content_length);

ags_simple_file_add_id_ref ()

void
ags_simple_file_add_id_ref (AgsSimpleFile *simple_file,
                            GObject *id_ref);

ags_simple_file_find_id_ref_by_node ()

GObject *
ags_simple_file_find_id_ref_by_node (AgsSimpleFile *simple_file,
                                     xmlNode *node);

ags_simple_file_find_id_ref_by_xpath ()

GList *
ags_simple_file_find_id_ref_by_xpath (AgsSimpleFile *simple_file,
                                      gchar *xpath);

ags_simple_file_find_id_ref_by_reference ()

GList *
ags_simple_file_find_id_ref_by_reference
                               (AgsSimpleFile *simple_file,
                                gpointer ref);

ags_simple_file_add_lookup ()

void
ags_simple_file_add_lookup (AgsSimpleFile *simple_file,
                            GObject *file_lookup);

ags_simple_file_add_launch ()

void
ags_simple_file_add_launch (AgsSimpleFile *simple_file,
                            GObject *file_launch);

ags_simple_file_open ()

void
ags_simple_file_open (AgsSimpleFile *simple_file,
                      GError **error);

ags_simple_file_open_from_data ()

void
ags_simple_file_open_from_data (AgsSimpleFile *simple_file,
                                gchar *data,
                                guint length,
                                GError **error);

ags_simple_file_rw_open ()

void
ags_simple_file_rw_open (AgsSimpleFile *simple_file,
                         gboolean create,
                         GError **error);

ags_simple_file_open_filename ()

void
ags_simple_file_open_filename (AgsSimpleFile *simple_file,
                               gchar *filename);

ags_simple_file_close ()

void
ags_simple_file_close (AgsSimpleFile *simple_file);

ags_simple_file_write ()

void
ags_simple_file_write (AgsSimpleFile *simple_file);

ags_simple_file_write_resolve ()

void
ags_simple_file_write_resolve (AgsSimpleFile *simple_file);

ags_simple_file_read ()

void
ags_simple_file_read (AgsSimpleFile *simple_file);

ags_simple_file_read_resolve ()

void
ags_simple_file_read_resolve (AgsSimpleFile *simple_file);

ags_simple_file_read_start ()

void
ags_simple_file_read_start (AgsSimpleFile *simple_file);

ags_simple_file_read_config ()

void
ags_simple_file_read_config (AgsSimpleFile *simple_file,
                             xmlNode *node,
                             AgsConfig **ags_config);

ags_simple_file_new ()

AgsSimpleFile *
ags_simple_file_new ();

Types and Values

AGS_SIMPLE_FILE_DEFAULT_ENCODING

#define AGS_SIMPLE_FILE_DEFAULT_ENCODING "UTF-8"

AGS_SIMPLE_FILE_DEFAULT_DTD

#define AGS_SIMPLE_FILE_DEFAULT_DTD "ags_simple_file.dtd"

AGS_SIMPLE_FILE_CHECKSUM_LENGTH

#define AGS_SIMPLE_FILE_CHECKSUM_LENGTH (g_checksum_type_get_length(G_CHECKSUM_MD5))

AGS_SIMPLE_FILE_DEFAULT_AUDIO_FORMAT

#define AGS_SIMPLE_FILE_DEFAULT_AUDIO_FORMAT "raw"

AGS_SIMPLE_FILE_DEFAULT_AUDIO_ENCODING

#define AGS_SIMPLE_FILE_DEFAULT_AUDIO_ENCODING "base64"

AGS_SIMPLE_FILE_ID_PROP

#define AGS_SIMPLE_FILE_ID_PROP "id"

AGS_SIMPLE_FILE_NAME_PROP

#define AGS_SIMPLE_FILE_NAME_PROP "name"

AGS_SIMPLE_FILE_TYPE_PROP

#define AGS_SIMPLE_FILE_TYPE_PROP "type"

AGS_SIMPLE_FILE_VERSION_PROP

#define AGS_SIMPLE_FILE_VERSION_PROP "version"

AGS_SIMPLE_FILE_BUILD_ID_PROP

#define AGS_SIMPLE_FILE_BUILD_ID_PROP "build-id"

AGS_SIMPLE_FILE_TRUE

#define AGS_SIMPLE_FILE_TRUE "true"

AGS_SIMPLE_FILE_FALSE

#define AGS_SIMPLE_FILE_FALSE "false"

enum AgsSimpleFileFlags

Members

AGS_SIMPLE_FILE_READ_BASIC

   

AGS_SIMPLE_FILE_READ_AUDIO_SIGNAL

   

AGS_SIMPLE_FILE_READ_EMBEDDED_AUDIO

   

AGS_SIMPLE_FILE_WRITE_BASIC

   

AGS_SIMPLE_FILE_WRITE_AUDIO_SIGNAL

   

AGS_SIMPLE_FILE_WRITE_EMBEDDED_AUDIO

   

AGS_SIMPLE_FILE_ERROR

#define AGS_SIMPLE_FILE_ERROR (ags_simple_file_error_quark())

enum AgsSimpleFileError

Members

AGS_SIMPLE_FILE_ERROR_PARSER_FAILURE