128
128
* brasero_track_data_set_source:
129
* @track: a #BraseroTrackData
130
* @grafts: a #GSList of #BraseroGraftPt
131
* @unreadable: a #GSList of URIS as strings
129
* @track: a #BraseroTrackData.
130
* @grafts: (element-type BraseroBurn.GraftPt) (in) (transfer full): a #GSList of #BraseroGraftPt.
131
* @unreadable: (element-type utf8) (allow-none) (in) (transfer full): a #GSList of URIS as strings or %NULL.
133
133
* Sets the lists of grafts points (@grafts) and excluded
134
134
* URIs (@unreadable) to be used to create an image.
338
* brasero_track_data_get_fs:
338
* brasero_track_data_get_grafts:
339
339
* @track: a #BraseroTrackData
341
341
* Returns a list of #BraseroGraftPt.
343
343
* Do not free after usage as @track retains ownership.
345
* Return value: a #GSList of #BraseroGraftPt or NULL if empty.
345
* Return value: (transfer none) (element-type BraseroBurn.GraftPt) (allow-none): a #GSList of #BraseroGraftPt or %NULL if empty.
369
* brasero_track_data_get_excluded_list:
370
* @track: a #BraseroTrackData.
372
* Returns a list of URIs which must not be included in
373
* the image to be created.
374
* Do not free the list or any of the URIs after
375
* usage as @track retains ownership.
377
* Return value: (transfer none) (element-type utf8) (allow-none): a #GSList of #gchar * or %NULL if no
378
* URI should be excluded.
382
brasero_track_data_get_excluded_list (BraseroTrackData *track)
384
BraseroTrackDataClass *klass;
386
g_return_val_if_fail (BRASERO_IS_TRACK_DATA (track), NULL);
388
klass = BRASERO_TRACK_DATA_GET_CLASS (track);
389
return klass->get_excluded (track);
369
393
* brasero_track_data_get_excluded:
370
* @track: a #BraseroTrackData
394
* @track: a #BraseroTrackData.
395
* @copy: a #gboolean.
373
397
* Returns a list of URIs which must not be included in
374
398
* the image to be created.
375
* If @copy is TRUE then the @list is a copy and must
376
* be freed once it is not needed anymore. If FALSE,
399
* If @copy is %TRUE then the @list is a copy and must
400
* be freed once it is not needed anymore. If %FALSE,
377
401
* do not free after usage as @track retains ownership.
379
* Return value: a #GSList of #gchar * or NULL if no
403
* Deprecated since 2.29.2
405
* Return value: a #GSList of #gchar * or %NULL if no
380
406
* URI should be excluded.
409
G_GNUC_DEPRECATED GSList *
384
410
brasero_track_data_get_excluded (BraseroTrackData *track,
419
445
* brasero_track_data_get_paths:
420
* @track: a #BraseroTrackData
421
* @use_joliet: a #gboolean
422
* @grafts_path: a #gchar
423
* @excluded_path: a #gchar
424
* @emptydir: a #gchar
425
* @videodir: a #gchar or NULL
446
* @track: a #BraseroTrackData.
447
* @use_joliet: a #gboolean.
448
* @grafts_path: a #gchar.
449
* @excluded_path: a #gchar.
450
* @emptydir: a #gchar.
451
* @videodir: (allow-none): a #gchar or %NULL.
428
454
* Write in @grafts_path (a path to a file) the graft points,
429
455
* in @excluded_path (a path to a file) the list of paths to
437
463
* This function takes care of mangling.
465
* Deprecated since 2.29.2
439
467
* Return value: a #BraseroBurnResult.
470
G_GNUC_DEPRECATED BraseroBurnResult
443
471
brasero_track_data_get_paths (BraseroTrackData *track,
444
472
gboolean use_joliet,
445
473
const gchar *grafts_path,
502
* brasero_track_data_write_to_paths:
503
* @track: a #BraseroTrackData.
504
* @grafts_path: a #gchar.
505
* @excluded_path: a #gchar.
506
* @emptydir: a #gchar.
507
* @videodir: (allow-none): a #gchar or %NULL.
510
* Write to @grafts_path (a path to a file) the graft points,
511
* and to @excluded_path (a path to a file) the list of paths to
512
* be excluded; @emptydir is (path) is an empty
513
* directory to be used for created directories;
514
* @videodir (a path) is a directory to be used to build the
517
* This is mostly for internal use by mkisofs and similar.
519
* This function takes care of file name mangling.
521
* Return value: a #BraseroBurnResult.
525
brasero_track_data_write_to_paths (BraseroTrackData *track,
526
const gchar *grafts_path,
527
const gchar *excluded_path,
528
const gchar *emptydir,
529
const gchar *videodir,
534
BraseroBurnResult result;
535
BraseroTrackDataClass *klass;
537
g_return_val_if_fail (BRASERO_IS_TRACK_DATA (track), BRASERO_BURN_NOT_SUPPORTED);
539
klass = BRASERO_TRACK_DATA_GET_CLASS (track);
540
grafts = klass->get_grafts (track);
541
excluded = klass->get_excluded (track);
543
result = brasero_mkisofs_base_write_to_files (grafts,
545
brasero_track_data_get_fs (track),
474
555
* brasero_track_data_get_file_num:
475
* @track: a #BraseroTrackData
476
* @file_num: a #guint64
556
* @track: a #BraseroTrackData.
557
* @file_num: (allow-none) (out): a #guint64 or %NULL.
478
559
* Sets the number of files (not directories) in @file_num.
480
* Return value: a #BraseroBurnResult. TRUE if @file_num
481
* was set, FALSE otherwise.
561
* Return value: a #BraseroBurnResult. %TRUE if @file_num
562
* was set, %FALSE otherwise.
484
565
BraseroBurnResult