AgsSimpleFile

AgsSimpleFile

Functions

Properties

AgsApplicationContext * application-context Read / Write
gchar * audio-encoding Read / Write
gchar * audio-format Read / Write
gchar * encoding Read / Write
gchar * filename Read / Write
gpointer xml-doc Read / Write

Signals

Types and Values

Object Hierarchy

    GObject
    ╰── AgsSimpleFile

Description

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_new ()

AgsSimpleFile *
ags_simple_file_new ();

Types and Values

AGS_SIMPLE_FILE_DEFAULT_ENCODING

#define AGS_SIMPLE_FILE_DEFAULT_ENCODING "UTF-8\0"


AGS_SIMPLE_FILE_DEFAULT_DTD

#define AGS_SIMPLE_FILE_DEFAULT_DTD "ags_simple_file.dtd\0"


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\0"


AGS_SIMPLE_FILE_DEFAULT_AUDIO_ENCODING

#define AGS_SIMPLE_FILE_DEFAULT_AUDIO_ENCODING "base64\0"


enum AgsSimpleFileFlags

Members

AGS_SIMPLE_FILE_READ

   

AGS_SIMPLE_FILE_READ_AUDIO_SIGNAL

   

AGS_SIMPLE_FILE_READ_EMBEDDED_AUDIO

   

AGS_SIMPLE_FILE_WRITE

   

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

   

Property Details

The “application-context” property

  “application-context”      AgsApplicationContext *

The application context to write to file.

Flags: Read / Write

Since: 0.7.25


The “audio-encoding” property

  “audio-encoding”           gchar *

The audio encoding used to embedded audio.

Flags: Read / Write

Default value: "base64"

Since: 0.7.25


The “audio-format” property

  “audio-format”             gchar *

The audio format used to embedded audio.

Flags: Read / Write

Default value: "raw"

Since: 0.7.25


The “encoding” property

  “encoding”                 gchar *

The encoding of the XML document.

Flags: Read / Write

Default value: NULL

Since: 0.7.25


The “filename” property

  “filename”                 gchar *

The filename to read or write to.

Flags: Read / Write

Default value: NULL

Since: 0.7.25


The “xml-doc” property

  “xml-doc”                  gpointer

The xml document assigned with file.

Flags: Read / Write

Since: 0.7.25

Signal Details

The “open” signal

void
user_function (AgsSimpleFile *simple_file,
               gpointer       error,
               gpointer       user_data)

Flags: Run Last

Since: 0.7.25


The “open-from-data” signal

void
user_function (AgsSimpleFile *simple_file,
               gchar         *create,
               guint          error,
               gpointer       arg3,
               gpointer       user_data)

Flags: Run Last

Since: 0.7.25


The “read” signal

void
user_function (AgsSimpleFile *simple_file,
               gpointer       user_data)

Flags: Run Last

Since: 0.7.25


The “read-resolve” signal

void
user_function (AgsSimpleFile *simple_file,
               gpointer       user_data)

Flags: Run Last

Since: 0.7.25


The “read-start” signal

void
user_function (AgsSimpleFile *simple_file,
               gpointer       user_data)

Flags: Run Last

Since: 0.7.25


The “rw-open” signal

void
user_function (AgsSimpleFile *agssimplefile,
               gboolean       arg1,
               gpointer       arg2,
               gpointer       user_data)

Flags: Run Last


The “write” signal

void
user_function (AgsSimpleFile *simple_file,
               gpointer       user_data)

Flags: Run Last

Since: 0.7.25


The “write-resolve” signal

void
user_function (AgsSimpleFile *simple_file,
               gpointer       user_data)

Flags: Run Last

Since: 0.7.25