1
1
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
4
* Copyright (C) Philippe Rouquier 2008 <bonfire-app@wanadoo.fr>
6
* Brasero is free software: you can redistribute it and/or modify it
7
* under the terms of the GNU General Public License as published by the
8
* Free Software Foundation, either version 3 of the License, or
9
* (at your option) any later version.
11
* Brasero is distributed in the hope that it will be useful, but
12
* WITHOUT ANY WARRANTY; without even the implied warranty of
4
* Copyright (C) Philippe Rouquier 2005-2009 <bonfire-app@wanadoo.fr>
6
* Brasero is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 2 of the License, or
9
* (at your option) any later version.
11
* brasero is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14
14
* See the GNU General Public License for more details.
16
* You should have received a copy of the GNU General Public License along
17
* with this program. If not, see <http://www.gnu.org/licenses/>.
16
* You should have received a copy of the GNU General Public License
17
* along with brasero. If not, write to:
18
* The Free Software Foundation, Inc.,
19
* 51 Franklin Street, Fifth Floor
20
* Boston, MA 02110-1301, USA.
20
23
#ifdef HAVE_CONFIG_H
727
729
brasero_track_image_cfg_set_source (track, uri);
729
brasero_burn_session_add_track (BRASERO_BURN_SESSION (session), BRASERO_TRACK (track));
731
brasero_burn_session_add_track (BRASERO_BURN_SESSION (session),
732
BRASERO_TRACK (track),
731
735
if (brasero_app_burn_options (app, session))
732
736
brasero_app_burn (app, BRASERO_BURN_SESSION (session));
745
749
session = brasero_session_cfg_new ();
746
750
track = brasero_track_disc_new ();
747
brasero_burn_session_add_track (BRASERO_BURN_SESSION (session), BRASERO_TRACK (track));
751
brasero_burn_session_add_track (BRASERO_BURN_SESSION (session),
752
BRASERO_TRACK (track),
749
755
/* if a device is specified then get the corresponding medium */