![]() |
![]() |
![]() |
Buzztard Bt-Core Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy |
#include <libbtcore/core.h> struct BtSongIONativeBZT; struct BtSongIONativeBZTClass; gboolean bt_song_io_native_bzt_copy_from_uri (const BtSongIONativeBZT * const self
,const gchar *file_name
,const gchar *uri
); gboolean bt_song_io_native_bzt_copy_to_fd (const BtSongIONativeBZT * const self
,const gchar *file_name
,gint fd
);
This internal BtSongIONative module implements loading and saving of an own xml format with externals. The format is an archive, that contains an XML file and optionally binary data, such as audio samples.
struct BtSongIONativeBZT;
object for song input and output in native zip/xml format
struct BtSongIONativeBZTClass { const BtSongIONativeClass parent; };
Class for song input and output in native zip/xml format
const BtSongIONativeClass |
parent class type |
gboolean bt_song_io_native_bzt_copy_from_uri (const BtSongIONativeBZT * const self
,const gchar *file_name
,const gchar *uri
);
Copies the file specified by uri
to file_name
into the song file.
This is a helper for BtSong persistence.
|
the song-plugin |
|
the path to the file inside the song |
|
location of the source file |
Returns : |
TRUE on success |
gboolean bt_song_io_native_bzt_copy_to_fd (const BtSongIONativeBZT * const self
,const gchar *file_name
,gint fd
);
Copies the file specified by file_name
from the song file to the fd
.
This is a helper for BtSong persistence.
|
the song-plugin |
|
the path to the file inside the song |
|
a file-descriptor of an opened file to copy file_name to |
Returns : |
TRUE on success |