~mfisch/brasero/update-to-3.8.0

« back to all changes in this revision

Viewing changes to libbrasero-burn/brasero-session.h

  • Committer: Bazaar Package Importer
  • Author(s): Robert Ancell
  • Date: 2009-07-14 14:13:00 UTC
  • mfrom: (1.1.25 upstream)
  • Revision ID: james.westby@ubuntu.com-20090714141300-e08q13sp48b2xzwd
Tags: 2.27.4-0ubuntu1
* New upstream release: (LP: #399112)
  - Hal support removed, now relies on GIO only for drives/media probing
  - New layout for size reporting in data/audio/video project
  - Lot's of bug fixes
  - Fixed some memleaks
  - Bump libbrasero-media version to reflect changes (important to packagers)
  - Fix #582261 – brasero shows 0% done, while continues burning disc
  - Fix #582513 – Bogus VIDEO_TS directory error if AUDIO_TS directory present
  - Fix #573805 – "Increase compatibility with Windows systems"?
  - Fix #585190 – remove 0 from 03 % status
  - Fix #586744 – Use AS_HELP_STRING for configure switches
  - Fix #584793 – Poor language in warning dialog when attempting to burn an audio CD onto a CDRW
  - Fix #580617 – Brasero floods .xsession-errors log with "Unknown (or already deleted) monitored directory" warnings
  - Fix #563501 – Brasero burning window shouldn't try to show drive speed while is converting audio files
  - Fix #485719 – Burn dialog CD icon
  - Fix #585481 – Deep hierarchy warning
  - Fix #554070 – The need of a "replace all" and "replace non" button
  - Fix #582461 – Brasero hangs at normalizing tracks
  - Fix #587284 – nautilus hangs every time
  - Fix #574093 – Caret visible in instructions for project creation
  - Fix #581742 – port from HAL to DeviceKit-disks
  - Fix #573801 – Bad error message when burning empty burn:///
  - Fix #573486 – Various i18n and string issues for good
  - Fix #587399 – License clarification
  - Fix #587554 – Unclear meaning of text
  - Fix #582979 – brasero should not include Categories in mime handler .desktop files
  - Fix #586040 – duplicated command listed in open-with dialog
  - Fixes for #573486 – Various i18n and string issues
* debian/control.in:
  - Add in missing comma in brasero suggests

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
struct _BraseroBurnSessionClass {
61
61
        GObjectClass parent_class;
62
62
 
 
63
        /** Virtual functions **/
 
64
        BraseroBurnResult       (*set_output_image)     (BraseroBurnSession *session,
 
65
                                                         BraseroImageFormat format,
 
66
                                                         const gchar *image,
 
67
                                                         const gchar *toc);
 
68
        BraseroBurnResult       (*get_output_path)      (BraseroBurnSession *session,
 
69
                                                         gchar **image,
 
70
                                                         gchar **toc);
 
71
        BraseroImageFormat      (*get_output_format)    (BraseroBurnSession *session);
 
72
 
63
73
        /**
64
74
         * GObject signals could be used to warned of individual property
65
75
         * changes but since changing one property could change others
66
76
         * it's better to have one global signal and dialogs asking for
67
77
         * the session properties they are interested in.
68
78
         */
69
 
        void                    (*input_changed)        (BraseroBurnSession *session);
 
79
        void                    (*flags_changed)        (BraseroBurnSession *session);
 
80
        void                    (*track_added)          (BraseroBurnSession *session,
 
81
                                                         BraseroTrack *track);
 
82
        void                    (*track_removed)        (BraseroBurnSession *session,
 
83
                                                         BraseroTrack *track,
 
84
                                                         guint former_position);
 
85
        void                    (*track_changed)        (BraseroBurnSession *session,
 
86
                                                         BraseroTrack *track);
70
87
        void                    (*output_changed)       (BraseroBurnSession *session,
71
 
                                                         BraseroMedium *medium);
 
88
                                                         BraseroMedium *former_medium);
72
89
};
73
90
 
74
91
GType brasero_burn_session_get_type ();
82
99
 
83
100
BraseroBurnResult
84
101
brasero_burn_session_add_track (BraseroBurnSession *session,
85
 
                                BraseroTrack *track);
 
102
                                BraseroTrack *track,
 
103
                                BraseroTrack *sibling);
 
104
 
 
105
BraseroBurnResult
 
106
brasero_burn_session_move_track (BraseroBurnSession *session,
 
107
                                 BraseroTrack *track,
 
108
                                 BraseroTrack *sibling);
 
109
 
 
110
BraseroBurnResult
 
111
brasero_burn_session_remove_track (BraseroBurnSession *session,
 
112
                                   BraseroTrack *track);
86
113
 
87
114
GSList *
88
115
brasero_burn_session_get_tracks (BraseroBurnSession *session);
89
116
 
 
117
/**
 
118
 * Get some information about the session
 
119
 */
 
120
 
90
121
BraseroBurnResult
91
122
brasero_burn_session_get_status (BraseroBurnSession *session,
92
123
                                 BraseroStatus *status);
138
169
BraseroBurnResult
139
170
brasero_burn_session_get_output (BraseroBurnSession *session,
140
171
                                 gchar **image,
141
 
                                 gchar **toc,
142
 
                                 GError **error);
 
172
                                 gchar **toc);
143
173
 
144
174
BraseroImageFormat
145
175
brasero_burn_session_get_output_format (BraseroBurnSession *session);
187
217
 
188
218
void
189
219
brasero_burn_session_push_tracks (BraseroBurnSession *session);
190
 
void
 
220
BraseroBurnResult
191
221
brasero_burn_session_pop_tracks (BraseroBurnSession *session);
192
222
 
193
223
/**
227
257
BraseroMedia
228
258
brasero_burn_session_get_required_media_type (BraseroBurnSession *session);
229
259
 
 
260
guint
 
261
brasero_burn_session_get_possible_output_formats (BraseroBurnSession *session,
 
262
                                                  BraseroImageFormat *formats);
 
263
 
230
264
BraseroImageFormat
231
265
brasero_burn_session_get_default_output_format (BraseroBurnSession *session);
232
266