[brasero] Make some private functions public
- From: Philippe Rouquier <philippr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [brasero] Make some private functions public
- Date: Wed, 7 Oct 2009 20:19:35 +0000 (UTC)
commit 1b06a1740c6ec71829b5896766c3d278dc29b388
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date: Wed Oct 7 20:17:40 2009 +0200
Make some private functions public
libbrasero-burn/brasero-caps-session.c | 7 -------
libbrasero-burn/brasero-session-helper.h | 4 ++++
libbrasero-burn/brasero-session.c | 4 ++++
libbrasero-burn/brasero-session.h | 1 +
libbrasero-media/brasero-drive.c | 2 ++
libbrasero-media/brasero-drive.h | 4 ++++
libbrasero-media/brasero-medium.c | 12 ++----------
7 files changed, 17 insertions(+), 17 deletions(-)
---
diff --git a/libbrasero-burn/brasero-caps-session.c b/libbrasero-burn/brasero-caps-session.c
index 43fc99f..6cab60d 100644
--- a/libbrasero-burn/brasero-caps-session.c
+++ b/libbrasero-burn/brasero-caps-session.c
@@ -788,13 +788,6 @@ brasero_burn_session_output_supported (BraseroBurnSession *session,
return BRASERO_BURN_OK;
}
-/* This function is not public API yet because it was too
- * late; so use it internally for now. It's mainly for
- * convenience.*/
-gboolean
-brasero_drive_can_write_media (BraseroDrive *drive,
- BraseroMedia media);
-
/**
* This is only to be used in case one wants to copy using the same drive.
* It determines the possible middle image type.
diff --git a/libbrasero-burn/brasero-session-helper.h b/libbrasero-burn/brasero-session-helper.h
index 3ac24fb..e930c51 100644
--- a/libbrasero-burn/brasero-session-helper.h
+++ b/libbrasero-burn/brasero-session-helper.h
@@ -45,6 +45,10 @@ G_BEGIN_DECLS
* Some convenience functions used internally
*/
+BraseroBurnResult
+brasero_burn_session_set_image_output_format (BraseroBurnSession *self,
+ BraseroImageFormat format);
+
goffset
brasero_burn_session_get_available_medium_space (BraseroBurnSession *session);
diff --git a/libbrasero-burn/brasero-session.c b/libbrasero-burn/brasero-session.c
index 0c5988c..1990542 100644
--- a/libbrasero-burn/brasero-session.c
+++ b/libbrasero-burn/brasero-session.c
@@ -1640,6 +1640,8 @@ brasero_burn_session_tag_add (BraseroBurnSession *self,
* for video discs, ...
* See brasero-tags.h for a list of knowns tags.
*
+ * Since 2.29.0
+ *
* Return value: a #BraseroBurnResult.
* BRASERO_BURN_OK if it was successful,
* BRASERO_BURN_ERR otherwise.
@@ -1714,6 +1716,8 @@ brasero_burn_session_tag_lookup (BraseroBurnSession *self,
* Retrieves an int value associated with @session through
* brasero_session_tag_add () and returns it.
*
+ * Since 2.29.0
+ *
* Return value: a #gint.
**/
diff --git a/libbrasero-burn/brasero-session.h b/libbrasero-burn/brasero-session.h
index 3d92d47..ed71e7b 100644
--- a/libbrasero-burn/brasero-session.h
+++ b/libbrasero-burn/brasero-session.h
@@ -153,6 +153,7 @@ brasero_burn_session_tag_add_int (BraseroBurnSession *self,
gint
brasero_burn_session_tag_lookup_int (BraseroBurnSession *self,
const gchar *tag);
+
/**
* Destination
*/
diff --git a/libbrasero-media/brasero-drive.c b/libbrasero-media/brasero-drive.c
index f5094ab..ac6b1bf 100644
--- a/libbrasero-media/brasero-drive.c
+++ b/libbrasero-media/brasero-drive.c
@@ -698,6 +698,8 @@ brasero_drive_get_caps (BraseroDrive *drive)
*
* Returns whether the disc can burn a specific media type.
*
+ * Since 2.29.0
+ *
* Return value: a #gboolean. TRUE if the drive can write this type of media and FALSE otherwise
**/
gboolean
diff --git a/libbrasero-media/brasero-drive.h b/libbrasero-media/brasero-drive.h
index 34ed811..15ecde8 100644
--- a/libbrasero-media/brasero-drive.h
+++ b/libbrasero-media/brasero-drive.h
@@ -112,6 +112,10 @@ BraseroDriveCaps
brasero_drive_get_caps (BraseroDrive *drive);
gboolean
+brasero_drive_can_write_media (BraseroDrive *drive,
+ BraseroMedia media);
+
+gboolean
brasero_drive_can_write (BraseroDrive *drive);
gboolean
diff --git a/libbrasero-media/brasero-medium.c b/libbrasero-media/brasero-medium.c
index 14baec0..71d12f7 100644
--- a/libbrasero-media/brasero-medium.c
+++ b/libbrasero-media/brasero-medium.c
@@ -3251,14 +3251,6 @@ brasero_medium_class_init (BraseroMediumClass *klass)
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
}
-
-/* This function is not public API yet because it was too
- * late; so use it internally for now. It's mainly for
- * convenience.*/
-gboolean
-brasero_drive_can_write_media (BraseroDrive *drive,
- BraseroMedia media);
-
/**
* brasero_medium_can_be_written:
* @medium: #BraseroMedium
@@ -3325,7 +3317,7 @@ brasero_medium_can_be_rewritten (BraseroMedium *medium)
*
* Gets whether the medium supports SAO.
*
- * Since 2.30
+ * Since 2.29
*
* Return value: a #gboolean. TRUE if the medium can use SAO write mode , FALSE otherwise.
*
@@ -3347,7 +3339,7 @@ brasero_medium_can_use_sao (BraseroMedium *medium)
*
* Gets whether the medium supports TAO.
*
- * Since 2.30
+ * Since 2.29
*
* Return value: a #gboolean. TRUE if the medium can use TAO write mode, FALSE otherwise.
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]