| Top |
GObject
╰── BraseroTrack
├── BraseroTrackData
├── BraseroTrackDisc
├── BraseroTrackImage
╰── BraseroTrackStream
void
brasero_track_changed (BraseroTrack *track);
Used internally in BraseroTrack implementations to signal a BraseroTrack object has changed.
BraseroBurnResult brasero_track_get_size (BraseroTrack *track,goffset *blocks,goffset *bytes);
Returns the size of the data contained by track
in bytes or in sectors
a BraseroBurnResult.
BRASERO_BURN_OK if it was successful
BRASERO_BURN_NOT_READY if track
needs more time for processing the size
BRASERO_BURN_ERR if something is wrong or if it is empty
BraseroBurnResult brasero_track_get_track_type (BraseroTrack *track,BraseroTrackType *type);
Sets type
to reflect the type of data contained in track
BraseroBurnResult brasero_track_get_status (BraseroTrack *track,BraseroStatus *status);
Sets status
to reflect whether track
is ready to be used
a BraseroBurnResult.
BRASERO_BURN_OK if it was successful
BRASERO_BURN_NOT_READY if track
needs more time for processing
BRASERO_BURN_ERR if something is wrong or if it is empty
BraseroBurnResult brasero_track_set_checksum (BraseroTrack *track,BraseroChecksumType type,const gchar *checksum);
Sets a checksum for the track
a BraseroBurnResult. BRASERO_BURN_OK if the checksum was previously empty or matches the new one BRASERO_BURN_ERR otherwise
const gchar *
brasero_track_get_checksum (BraseroTrack *track);
Get the current checksum (as a string) for the track
BraseroChecksumType
brasero_track_get_checksum_type (BraseroTrack *track);
Get the current checksum type for the track if any.
BraseroBurnResult brasero_track_tag_add (BraseroTrack *track,const gchar *tag,GValue *value);
Associates a new tag
with a track. This can be used
to pass arbitrary information for plugins, like parameters
for video discs, ...
See brasero-tags.h for a list of knowns tags.
BraseroBurnResult brasero_track_tag_lookup (BraseroTrack *track,const gchar *tag,GValue **value);
Retrieves a value associated with track
through
brasero_track_tag_add() and stores it in value
. Do
not destroy value
afterwards as it is not a copy
a BraseroBurnResult. BRASERO_BURN_OK if the retrieval was successful BRASERO_BURN_ERR otherwise
void brasero_track_tag_copy_missing (BraseroTrack *dest,BraseroTrack *src);
Adds all tags of dest
to src
provided they do not
already exists.
BraseroBurnResult brasero_track_tag_add_string (BraseroTrack *track,const gchar *tag,const gchar *string);
A wrapper around brasero_track_tag_add() to associate
a string with track
See also brasero_track_tag_add()
const gchar * brasero_track_tag_lookup_string (BraseroTrack *track,const gchar *tag);
Retrieves a string value associated with track
. This
is a wrapper around brasero_track_tag_lookup().
BraseroBurnResult brasero_track_tag_add_int (BraseroTrack *track,const gchar *tag,int value);
A wrapper around brasero_track_tag_add() to associate
a int value with track
See also brasero_track_tag_add()
int brasero_track_tag_lookup_int (BraseroTrack *track,const gchar *tag);
Retrieves a int value associated with track
. This
is a wrapper around brasero_track_tag_lookup().
“changed” signalvoid user_function (BraseroTrack *braserotrack, gpointer user_data)
Flags: No Recursion