[brasero] Forgotten files



commit 706cc20356634136af46bca0c6e55d19125bbf12
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date:   Sun Apr 19 13:59:50 2009 +0200

    Forgotten files
---
 libbrasero-burn/brasero-blank-dialog.h        |   64 +++++++++++++++++
 libbrasero-burn/brasero-burn-lib.h            |   92 +++++++++++++++++++++++++
 libbrasero-burn/brasero-status-dialog.h       |   74 ++++++++++++++++++++
 libbrasero-burn/brasero-status.h              |   74 ++++++++++++++++++++
 libbrasero-burn/brasero-sum-dialog.h          |   67 ++++++++++++++++++
 libbrasero-burn/brasero-tool-dialog-private.h |   73 +++++++++++++++++++
 libbrasero-burn/brasero-tool-dialog.h         |   85 +++++++++++++++++++++++
 libbrasero-burn/brasero-xfer.h                |   65 +++++++++++++++++
 libbrasero-burn/libbrasero-marshal.h          |   52 ++++++++++++++
 9 files changed, 646 insertions(+), 0 deletions(-)

diff --git a/libbrasero-burn/brasero-blank-dialog.h b/libbrasero-burn/brasero-blank-dialog.h
new file mode 100644
index 0000000..d32eba7
--- /dev/null
+++ b/libbrasero-burn/brasero-blank-dialog.h
@@ -0,0 +1,64 @@
+/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
+/*
+ * Libbrasero-burn
+ * Copyright (C) Philippe Rouquier 2005-2009 <bonfire-app wanadoo fr>
+ *
+ * Libbrasero-burn is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * The Libbrasero-burn authors hereby grant permission for non-GPL compatible
+ * GStreamer plugins to be used and distributed together with GStreamer
+ * and Libbrasero-burn. This permission is above and beyond the permissions granted
+ * by the GPL license by which Libbrasero-burn is covered. If you modify this code
+ * you may extend this exception to your version of the code, but you are not
+ * obligated to do so. If you do not wish to do so, delete this exception
+ * statement from your version.
+ * 
+ * Libbrasero-burn is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Library General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to:
+ * 	The Free Software Foundation, Inc.,
+ * 	51 Franklin Street, Fifth Floor
+ * 	Boston, MA  02110-1301, USA.
+ */
+
+#ifndef BLANK_DIALOG_H
+#define BLANK_DIALOG_H
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <gtk/gtk.h>
+
+#include "brasero-tool-dialog.h"
+
+G_BEGIN_DECLS
+
+#define BRASERO_TYPE_BLANK_DIALOG         (brasero_blank_dialog_get_type ())
+#define BRASERO_BLANK_DIALOG(o)           (G_TYPE_CHECK_INSTANCE_CAST ((o), BRASERO_TYPE_BLANK_DIALOG, BraseroBlankDialog))
+#define BRASERO_BLANK_DIALOG_CLASS(k)     (G_TYPE_CHECK_CLASS_CAST((k), BRASERO_TYPE_BLANK_DIALOG, BraseroBlankDialogClass))
+#define BRASERO_IS_BLANK_DIALOG(o)        (G_TYPE_CHECK_INSTANCE_TYPE ((o), BRASERO_TYPE_BLANK_DIALOG))
+#define BRASERO_IS_BLANK_DIALOG_CLASS(k)  (G_TYPE_CHECK_CLASS_TYPE ((k), BRASERO_TYPE_BLANK_DIALOG))
+#define BRASERO_BLANK_DIALOG_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), BRASERO_TYPE_BLANK_DIALOG, BraseroBlankDialogClass))
+
+typedef struct {
+	BraseroToolDialog parent;
+} BraseroBlankDialog;
+
+typedef struct {
+	BraseroToolDialogClass parent_class;
+} BraseroBlankDialogClass;
+
+GType brasero_blank_dialog_get_type ();
+
+BraseroBlankDialog *brasero_blank_dialog_new ();
+
+G_END_DECLS
+
+#endif				/* BLANK_DIALOG_H */
diff --git a/libbrasero-burn/brasero-burn-lib.h b/libbrasero-burn/brasero-burn-lib.h
new file mode 100644
index 0000000..8510216
--- /dev/null
+++ b/libbrasero-burn/brasero-burn-lib.h
@@ -0,0 +1,92 @@
+/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
+/*
+ * Libbrasero-burn
+ * Copyright (C) Philippe Rouquier 2005-2009 <bonfire-app wanadoo fr>
+ *
+ * Libbrasero-burn is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * The Libbrasero-burn authors hereby grant permission for non-GPL compatible
+ * GStreamer plugins to be used and distributed together with GStreamer
+ * and Libbrasero-burn. This permission is above and beyond the permissions granted
+ * by the GPL license by which Libbrasero-burn is covered. If you modify this code
+ * you may extend this exception to your version of the code, but you are not
+ * obligated to do so. If you do not wish to do so, delete this exception
+ * statement from your version.
+ * 
+ * Libbrasero-burn is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Library General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to:
+ * 	The Free Software Foundation, Inc.,
+ * 	51 Franklin Street, Fifth Floor
+ * 	Boston, MA  02110-1301, USA.
+ */
+
+#ifndef _BRASERO_BURN_LIB_
+#define _BRASERO_BURN_LIB_
+
+#include <glib.h>
+
+#include <brasero-enums.h>
+#include <brasero-error.h>
+#include <brasero-track-type.h>
+
+G_BEGIN_DECLS
+
+/**
+ * Some needed information about the library
+ */
+
+#define LIBBRASERO_BURN_VERSION_MAJOR						\
+	2
+#define LIBBRASERO_BURN_VERSION_MINOR						\
+	27
+#define LIBBRASERO_BURN_VERSION_MICRO						\
+	1
+#define LIBBRASERO_BURN_AGE							\
+	111
+
+
+/**
+ * Function to start and stop the library
+ */
+
+gboolean
+brasero_burn_library_start (void);
+
+void
+brasero_burn_library_stop (void);
+
+/**
+ * GOptionGroup for apps
+ */
+
+GOptionGroup *
+brasero_burn_library_get_option_group (void);
+
+/**
+ * Allows to get some information about capabilities
+ */
+
+GSList *
+brasero_burn_library_get_plugins_list (void);
+
+gboolean
+brasero_burn_library_can_checksum (void);
+
+BraseroBurnResult
+brasero_burn_library_input_supported (BraseroTrackType *type);
+
+BraseroMedia
+brasero_burn_library_get_media_capabilities (BraseroMedia media);
+
+G_END_DECLS
+
+#endif /* _BRASERO_BURN_LIB_ */
+
diff --git a/libbrasero-burn/brasero-status-dialog.h b/libbrasero-burn/brasero-status-dialog.h
new file mode 100644
index 0000000..56ef71b
--- /dev/null
+++ b/libbrasero-burn/brasero-status-dialog.h
@@ -0,0 +1,74 @@
+/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
+/*
+ * Libbrasero-burn
+ * Copyright (C) Philippe Rouquier 2005-2009 <bonfire-app wanadoo fr>
+ *
+ * Libbrasero-burn is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * The Libbrasero-burn authors hereby grant permission for non-GPL compatible
+ * GStreamer plugins to be used and distributed together with GStreamer
+ * and Libbrasero-burn. This permission is above and beyond the permissions granted
+ * by the GPL license by which Libbrasero-burn is covered. If you modify this code
+ * you may extend this exception to your version of the code, but you are not
+ * obligated to do so. If you do not wish to do so, delete this exception
+ * statement from your version.
+ * 
+ * Libbrasero-burn is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Library General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to:
+ * 	The Free Software Foundation, Inc.,
+ * 	51 Franklin Street, Fifth Floor
+ * 	Boston, MA  02110-1301, USA.
+ */
+
+#ifndef _BRASERO_STATUS_DIALOG_H_
+#define _BRASERO_STATUS_DIALOG_H_
+
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include "brasero-enums.h"
+#include "brasero-session.h"
+
+G_BEGIN_DECLS
+
+#define BRASERO_TYPE_STATUS_DIALOG             (brasero_status_dialog_get_type ())
+#define BRASERO_STATUS_DIALOG(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), BRASERO_TYPE_STATUS_DIALOG, BraseroStatusDialog))
+#define BRASERO_STATUS_DIALOG_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST ((klass), BRASERO_TYPE_STATUS_DIALOG, BraseroStatusDialogClass))
+#define BRASERO_IS_STATUS_DIALOG(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BRASERO_TYPE_STATUS_DIALOG))
+#define BRASERO_IS_STATUS_DIALOG_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), BRASERO_TYPE_STATUS_DIALOG))
+#define BRASERO_STATUS_DIALOG_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), BRASERO_TYPE_STATUS_DIALOG, BraseroStatusDialogClass))
+
+typedef struct _BraseroStatusDialogClass BraseroStatusDialogClass;
+typedef struct _BraseroStatusDialog BraseroStatusDialog;
+
+struct _BraseroStatusDialogClass
+{
+	GtkMessageDialogClass parent_class;
+};
+
+struct _BraseroStatusDialog
+{
+	GtkMessageDialog parent_instance;
+};
+
+GType brasero_status_dialog_get_type (void) G_GNUC_CONST;
+
+GtkWidget *
+brasero_status_dialog_new (void);
+
+BraseroBurnResult
+brasero_status_dialog_wait_for_session (BraseroStatusDialog *dialog,
+					GtkWidget *toplevel,
+					BraseroBurnSession *session);
+
+G_END_DECLS
+
+#endif /* _BRASERO_STATUS_DIALOG_H_ */
diff --git a/libbrasero-burn/brasero-status.h b/libbrasero-burn/brasero-status.h
new file mode 100644
index 0000000..eec4802
--- /dev/null
+++ b/libbrasero-burn/brasero-status.h
@@ -0,0 +1,74 @@
+/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
+/*
+ * Libbrasero-burn
+ * Copyright (C) Philippe Rouquier 2005-2009 <bonfire-app wanadoo fr>
+ *
+ * Libbrasero-burn is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * The Libbrasero-burn authors hereby grant permission for non-GPL compatible
+ * GStreamer plugins to be used and distributed together with GStreamer
+ * and Libbrasero-burn. This permission is above and beyond the permissions granted
+ * by the GPL license by which Libbrasero-burn is covered. If you modify this code
+ * you may extend this exception to your version of the code, but you are not
+ * obligated to do so. If you do not wish to do so, delete this exception
+ * statement from your version.
+ * 
+ * Libbrasero-burn is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Library General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to:
+ * 	The Free Software Foundation, Inc.,
+ * 	51 Franklin Street, Fifth Floor
+ * 	Boston, MA  02110-1301, USA.
+ */
+
+#ifndef _BRASERO_STATUS_H_
+#define _BRASERO_STATUS_H_
+
+#include <glib.h>
+
+#include <brasero-enums.h>
+
+G_BEGIN_DECLS
+
+typedef struct _BraseroStatus BraseroStatus;
+
+BraseroStatus *
+brasero_status_new (void);
+
+void
+brasero_status_free (BraseroStatus *status);
+
+BraseroBurnResult
+brasero_status_get_result (BraseroStatus *status);
+
+gdouble
+brasero_status_get_progress (BraseroStatus *status);
+
+GError *
+brasero_status_get_error (BraseroStatus *status);
+
+gchar *
+brasero_status_get_current_action (BraseroStatus *status);
+
+void
+brasero_status_set_completed (BraseroStatus *status);
+
+void
+brasero_status_set_not_ready (BraseroStatus *status,
+			      gdouble progress,
+			      const gchar *current_action);
+
+void
+brasero_status_set_error (BraseroStatus *status,
+			  GError *error);
+
+G_END_DECLS
+
+#endif
diff --git a/libbrasero-burn/brasero-sum-dialog.h b/libbrasero-burn/brasero-sum-dialog.h
new file mode 100644
index 0000000..a13b46b
--- /dev/null
+++ b/libbrasero-burn/brasero-sum-dialog.h
@@ -0,0 +1,67 @@
+/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
+/*
+ * Libbrasero-burn
+ * Copyright (C) Philippe Rouquier 2005-2009 <bonfire-app wanadoo fr>
+ *
+ * Libbrasero-burn is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * The Libbrasero-burn authors hereby grant permission for non-GPL compatible
+ * GStreamer plugins to be used and distributed together with GStreamer
+ * and Libbrasero-burn. This permission is above and beyond the permissions granted
+ * by the GPL license by which Libbrasero-burn is covered. If you modify this code
+ * you may extend this exception to your version of the code, but you are not
+ * obligated to do so. If you do not wish to do so, delete this exception
+ * statement from your version.
+ * 
+ * Libbrasero-burn is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Library General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to:
+ * 	The Free Software Foundation, Inc.,
+ * 	51 Franklin Street, Fifth Floor
+ * 	Boston, MA  02110-1301, USA.
+ */
+
+#ifndef BRASERO_SUM_DIALOG_H
+#define BRASERO_SUM_DIALOG_H
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <gtk/gtk.h>
+
+#include "brasero-tool-dialog.h"
+
+G_BEGIN_DECLS
+
+#define BRASERO_TYPE_SUM_DIALOG         (brasero_sum_dialog_get_type ())
+#define BRASERO_SUM_DIALOG(o)           (G_TYPE_CHECK_INSTANCE_CAST ((o), BRASERO_TYPE_SUM_DIALOG, BraseroSumDialog))
+#define BRASERO_SUM_DIALOG_CLASS(k)     (G_TYPE_CHECK_CLASS_CAST((k), BRASERO_TYPE_SUM_DIALOG, BraseroSumDialogClass))
+#define BRASERO_IS_SUM_DIALOG(o)        (G_TYPE_CHECK_INSTANCE_TYPE ((o), BRASERO_TYPE_SUM_DIALOG))
+#define BRASERO_IS_SUM_DIALOG_CLASS(k)  (G_TYPE_CHECK_CLASS_TYPE ((k), BRASERO_TYPE_SUM_DIALOG))
+#define BRASERO_SUM_DIALOG_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), BRASERO_TYPE_SUM_DIALOG, BraseroSumDialogClass))
+
+typedef struct _BraseroSumDialog BraseroSumDialog;
+typedef struct _BraseroSumDialogClass BraseroSumDialogClass;
+
+struct _BraseroSumDialog {
+	BraseroToolDialog parent;
+};
+
+struct _BraseroSumDialogClass {
+	BraseroToolDialogClass parent_class;
+};
+
+GType brasero_sum_dialog_get_type ();
+
+BraseroSumDialog *brasero_sum_dialog_new ();
+
+G_END_DECLS
+
+#endif /* BRASERO_SUM_DIALOG_H */
diff --git a/libbrasero-burn/brasero-tool-dialog-private.h b/libbrasero-burn/brasero-tool-dialog-private.h
new file mode 100644
index 0000000..7bda8a8
--- /dev/null
+++ b/libbrasero-burn/brasero-tool-dialog-private.h
@@ -0,0 +1,73 @@
+/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
+/*
+ * Libbrasero-burn
+ * Copyright (C) Philippe Rouquier 2005-2009 <bonfire-app wanadoo fr>
+ *
+ * Libbrasero-burn is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * The Libbrasero-burn authors hereby grant permission for non-GPL compatible
+ * GStreamer plugins to be used and distributed together with GStreamer
+ * and Libbrasero-burn. This permission is above and beyond the permissions granted
+ * by the GPL license by which Libbrasero-burn is covered. If you modify this code
+ * you may extend this exception to your version of the code, but you are not
+ * obligated to do so. If you do not wish to do so, delete this exception
+ * statement from your version.
+ * 
+ * Libbrasero-burn is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Library General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to:
+ * 	The Free Software Foundation, Inc.,
+ * 	51 Franklin Street, Fifth Floor
+ * 	Boston, MA  02110-1301, USA.
+ */
+
+#ifndef BRASERO_TOOL_DIALOG_PRIVATE_H
+#define BRASERO_TOOL_DIALOG_PRIVATE_H
+
+#include "brasero-tool-dialog.h"
+
+
+G_BEGIN_DECLS
+
+void
+brasero_tool_dialog_pack_options (BraseroToolDialog *dialog, ...);
+
+void
+brasero_tool_dialog_set_button (BraseroToolDialog *dialog,
+				const gchar *text,
+				const gchar *image,
+				const gchar *theme);
+void
+brasero_tool_dialog_set_valid (BraseroToolDialog *dialog,
+			       gboolean valid);
+void
+brasero_tool_dialog_set_medium_type_shown (BraseroToolDialog *dialog,
+					   BraseroMediaType media_type);
+void
+brasero_tool_dialog_set_progress (BraseroToolDialog *dialog,
+				  gdouble overall_progress,
+				  gdouble task_progress,
+				  glong remaining,
+				  gint size_mb,
+				  gint written_mb);
+void
+brasero_tool_dialog_set_action (BraseroToolDialog *dialog,
+				BraseroBurnAction action,
+				const gchar *string);
+
+BraseroBurn *
+brasero_tool_dialog_get_burn (BraseroToolDialog *dialog);
+
+BraseroMedium *
+brasero_tool_dialog_get_medium (BraseroToolDialog *dialog);
+
+G_END_DECLS
+
+#endif
diff --git a/libbrasero-burn/brasero-tool-dialog.h b/libbrasero-burn/brasero-tool-dialog.h
new file mode 100644
index 0000000..feafc5a
--- /dev/null
+++ b/libbrasero-burn/brasero-tool-dialog.h
@@ -0,0 +1,85 @@
+/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
+/*
+ * Libbrasero-burn
+ * Copyright (C) Philippe Rouquier 2005-2009 <bonfire-app wanadoo fr>
+ *
+ * Libbrasero-burn is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * The Libbrasero-burn authors hereby grant permission for non-GPL compatible
+ * GStreamer plugins to be used and distributed together with GStreamer
+ * and Libbrasero-burn. This permission is above and beyond the permissions granted
+ * by the GPL license by which Libbrasero-burn is covered. If you modify this code
+ * you may extend this exception to your version of the code, but you are not
+ * obligated to do so. If you do not wish to do so, delete this exception
+ * statement from your version.
+ * 
+ * Libbrasero-burn is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Library General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to:
+ * 	The Free Software Foundation, Inc.,
+ * 	51 Franklin Street, Fifth Floor
+ * 	Boston, MA  02110-1301, USA.
+ */
+
+#ifndef BRASERO_TOOL_DIALOG_H
+#define BRASERO_TOOL_DIALOG_H
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <gtk/gtk.h>
+
+#include "burn-basics.h"
+
+#include "brasero-session.h"
+#include "brasero-burn.h"
+
+#include "brasero-medium.h"
+#include "brasero-medium-monitor.h"
+
+G_BEGIN_DECLS
+
+#define BRASERO_TYPE_TOOL_DIALOG         (brasero_tool_dialog_get_type ())
+#define BRASERO_TOOL_DIALOG(o)           (G_TYPE_CHECK_INSTANCE_CAST ((o), BRASERO_TYPE_TOOL_DIALOG, BraseroToolDialog))
+#define BRASERO_TOOL_DIALOG_CLASS(k)     (G_TYPE_CHECK_CLASS_CAST((k), BRASERO_TYPE_TOOL_DIALOG, BraseroToolDialogClass))
+#define BRASERO_IS_TOOL_DIALOG(o)        (G_TYPE_CHECK_INSTANCE_TYPE ((o), BRASERO_TYPE_TOOL_DIALOG))
+#define BRASERO_IS_TOOL_DIALOG_CLASS(k)  (G_TYPE_CHECK_CLASS_TYPE ((k), BRASERO_TYPE_TOOL_DIALOG))
+#define BRASERO_TOOL_DIALOG_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), BRASERO_TYPE_TOOL_DIALOG, BraseroToolDialogClass))
+
+typedef struct _BraseroToolDialog BraseroToolDialog;
+typedef struct _BraseroToolDialogClass BraseroToolDialogClass;
+
+struct _BraseroToolDialog {
+	GtkDialog parent;
+};
+
+struct _BraseroToolDialogClass {
+	GtkDialogClass parent_class;
+
+	/* Virtual functions */
+	gboolean	(*activate)		(BraseroToolDialog *dialog,
+						 BraseroMedium *medium);
+	gboolean	(*cancel)		(BraseroToolDialog *dialog);
+	void		(*medium_changed)	(BraseroToolDialog *dialog,
+						 BraseroMedium *medium);
+};
+
+GType brasero_tool_dialog_get_type ();
+
+gboolean
+brasero_tool_dialog_cancel (BraseroToolDialog *self);
+
+gboolean
+brasero_tool_dialog_set_medium (BraseroToolDialog *dialog,
+				BraseroMedium *medium);
+
+G_END_DECLS
+
+#endif /* BRASERO_TOOL_DIALOG_H */
diff --git a/libbrasero-burn/brasero-xfer.h b/libbrasero-burn/brasero-xfer.h
new file mode 100644
index 0000000..d6d3765
--- /dev/null
+++ b/libbrasero-burn/brasero-xfer.h
@@ -0,0 +1,65 @@
+/***************************************************************************
+ *            burn-xfer.h
+ *
+ *  Sun Sep 10 09:08:59 2006
+ *  Copyright  2006  philippe
+ *  <philippe Rouquier Philippe.localdomain>
+ ****************************************************************************/
+
+/*
+ * Libbrasero-media is free software; you can redistribute it and/or modify
+fy
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * 
+ * Brasero is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Library General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor Boston, MA 02110-1301,  USA
+ */
+
+#include <glib.h>
+#include <gio/gio.h>
+
+#ifndef _BURN_XFER_H
+#define _BURN_XFER_H
+
+G_BEGIN_DECLS
+
+typedef struct _BraseroXferCtx BraseroXferCtx;
+
+BraseroXferCtx *
+brasero_xfer_new (void);
+
+void
+brasero_xfer_free (BraseroXferCtx *ctx);
+
+gboolean
+brasero_xfer_start (BraseroXferCtx *ctx,
+		    GFile *src,
+		    GFile *dest,
+		    GCancellable *cancel,
+		    GError **error);
+
+gboolean
+brasero_xfer_wait (BraseroXferCtx *ctx,
+		   const gchar *src,
+		   const gchar *dest,
+		   GCancellable *cancel,
+		   GError **error);
+
+gboolean
+brasero_xfer_get_progress (BraseroXferCtx *ctx,
+			   goffset *written,
+			   goffset *total);
+
+G_END_DECLS
+
+#endif /* _BURN_XFER_H */
+
+ 
diff --git a/libbrasero-burn/libbrasero-marshal.h b/libbrasero-burn/libbrasero-marshal.h
new file mode 100644
index 0000000..016f485
--- /dev/null
+++ b/libbrasero-burn/libbrasero-marshal.h
@@ -0,0 +1,52 @@
+
+#ifndef __brasero_marshal_MARSHAL_H__
+#define __brasero_marshal_MARSHAL_H__
+
+#include	<glib-object.h>
+
+G_BEGIN_DECLS
+
+/* INT:VOID (./libbrasero-marshal.list:1) */
+extern void brasero_marshal_INT__VOID (GClosure     *closure,
+                                       GValue       *return_value,
+                                       guint         n_param_values,
+                                       const GValue *param_values,
+                                       gpointer      invocation_hint,
+                                       gpointer      marshal_data);
+
+/* INT:INT (./libbrasero-marshal.list:2) */
+extern void brasero_marshal_INT__INT (GClosure     *closure,
+                                      GValue       *return_value,
+                                      guint         n_param_values,
+                                      const GValue *param_values,
+                                      gpointer      invocation_hint,
+                                      gpointer      marshal_data);
+
+/* INT:OBJECT,INT,INT (./libbrasero-marshal.list:3) */
+extern void brasero_marshal_INT__OBJECT_INT_INT (GClosure     *closure,
+                                                 GValue       *return_value,
+                                                 guint         n_param_values,
+                                                 const GValue *param_values,
+                                                 gpointer      invocation_hint,
+                                                 gpointer      marshal_data);
+
+/* INT:POINTER,BOOLEAN (./libbrasero-marshal.list:4) */
+extern void brasero_marshal_INT__POINTER_BOOLEAN (GClosure     *closure,
+                                                  GValue       *return_value,
+                                                  guint         n_param_values,
+                                                  const GValue *param_values,
+                                                  gpointer      invocation_hint,
+                                                  gpointer      marshal_data);
+
+/* VOID:DOUBLE,DOUBLE,LONG (./libbrasero-marshal.list:5) */
+extern void brasero_marshal_VOID__DOUBLE_DOUBLE_LONG (GClosure     *closure,
+                                                      GValue       *return_value,
+                                                      guint         n_param_values,
+                                                      const GValue *param_values,
+                                                      gpointer      invocation_hint,
+                                                      gpointer      marshal_data);
+
+G_END_DECLS
+
+#endif /* __brasero_marshal_MARSHAL_H__ */
+



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]