[brasero/gnome-2-28] Make some private functions public
- From: Philippe Rouquier <philippr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [brasero/gnome-2-28] Make some private functions public
- Date: Wed, 7 Oct 2009 20:18:49 +0000 (UTC)
commit c0e317c1ff6940c1942bf2b490dc8bd54272619e
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 | 14 ++------------
libbrasero-burn/brasero-session.c | 4 ++++
libbrasero-burn/brasero-session.h | 8 ++++++++
libbrasero-media/brasero-drive.c | 2 ++
libbrasero-media/brasero-drive.h | 4 ++++
libbrasero-media/brasero-medium.c | 12 ++----------
7 files changed, 22 insertions(+), 29 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 8c3d0fb..e930c51 100644
--- a/libbrasero-burn/brasero-session-helper.h
+++ b/libbrasero-burn/brasero-session-helper.h
@@ -40,24 +40,14 @@
G_BEGIN_DECLS
+
/**
- * Functions meant to become public API
+ * Some convenience functions used internally
*/
BraseroBurnResult
brasero_burn_session_set_image_output_format (BraseroBurnSession *self,
BraseroImageFormat format);
-BraseroBurnResult
-brasero_burn_session_tag_add_int (BraseroBurnSession *self,
- const gchar *tag,
- gint value);
-gint
-brasero_burn_session_tag_lookup_int (BraseroBurnSession *self,
- const gchar *tag);
-
-/**
- * Some convenience functions used internally
- */
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 c76c633..0c954f4 100644
--- a/libbrasero-burn/brasero-session.c
+++ b/libbrasero-burn/brasero-session.c
@@ -1631,6 +1631,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.
@@ -1705,6 +1707,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 09c9f5c..d6f9e70 100644
--- a/libbrasero-burn/brasero-session.h
+++ b/libbrasero-burn/brasero-session.h
@@ -146,6 +146,14 @@ BraseroBurnResult
brasero_burn_session_tag_remove (BraseroBurnSession *session,
const gchar *tag);
+BraseroBurnResult
+brasero_burn_session_tag_add_int (BraseroBurnSession *self,
+ const gchar *tag,
+ gint value);
+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 7e1c62e..08e0eeb 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]