diff options
-rw-r--r-- | src/libtracker-miner/tracker-storage.c | 12 | ||||
-rw-r--r-- | src/libtracker-miner/tracker-storage.h | 6 |
2 files changed, 18 insertions, 0 deletions
diff --git a/src/libtracker-miner/tracker-storage.c b/src/libtracker-miner/tracker-storage.c index 625b4ca..edd316b 100644 --- a/src/libtracker-miner/tracker-storage.c +++ b/src/libtracker-miner/tracker-storage.c @@ -748,6 +748,8 @@ mount_removed_cb (GVolumeMonitor *monitor, * Creates a new instance of #TrackerStorage. * * Returns: The newly created #TrackerStorage. + * + * Since: 0.8 **/ TrackerStorage * tracker_storage_new (void) @@ -799,6 +801,8 @@ get_mount_point_by_uuid_foreach (gpointer key, * Returns: a #GSList of strings containing the root directories for * devices with @type based on @exact_match. Each element must be * freed using g_free() and the list itself through g_slist_free(). + * + * Since: 0.8 **/ GSList * tracker_storage_get_device_roots (TrackerStorage *storage, @@ -832,6 +836,8 @@ tracker_storage_get_device_roots (TrackerStorage *storage, * Returns: a #GSList of strings containing the UUID for devices with * @type based on @exact_match. Each element must be freed using * g_free() and the list itself through g_slist_free(). + * + * Since: 0.8 **/ GSList * tracker_storage_get_device_uuids (TrackerStorage *storage, @@ -879,6 +885,8 @@ tracker_storage_get_device_uuids (TrackerStorage *storage, * @uuid: A string pointer to the UUID for the %GVolume. * * Returns: The mount point for @uuid, this should not be freed. + * + * Since: 0.8 **/ const gchar * tracker_storage_get_mount_point_for_uuid (TrackerStorage *storage, @@ -910,6 +918,8 @@ tracker_storage_get_mount_point_for_uuid (TrackerStorage *storage, * @uuid: A string pointer to the UUID for the %GVolume. * * Returns: The type flags for @uuid. + * + * Since: 0.10 **/ TrackerStorageType tracker_storage_get_type_for_uuid (TrackerStorage *storage, @@ -951,6 +961,8 @@ tracker_storage_get_type_for_uuid (TrackerStorage *storage, * * Returns: Returns the UUID of the removable device for @file, this * should not be freed. + * + * Since: 0.8 **/ const gchar * tracker_storage_get_uuid_for_file (TrackerStorage *storage, diff --git a/src/libtracker-miner/tracker-storage.h b/src/libtracker-miner/tracker-storage.h index 9970edf..f3101c0 100644 --- a/src/libtracker-miner/tracker-storage.h +++ b/src/libtracker-miner/tracker-storage.h @@ -35,6 +35,8 @@ G_BEGIN_DECLS * @TRACKER_STORAGE_OPTICAL: Storage is an optical disc * * Flags specifying properties of the type of storage. + * + * Since: 0.8 */ typedef enum { TRACKER_STORAGE_REMOVABLE = 1 << 0, @@ -48,6 +50,8 @@ typedef enum { * Check if the given storage type is marked as being removable media. * * Returns: %TRUE if the storage is marked as removable media, %FALSE otherwise + * + * Since: 0.10 */ #define TRACKER_STORAGE_TYPE_IS_REMOVABLE(type) ((type & TRACKER_STORAGE_REMOVABLE) ? TRUE : FALSE) @@ -58,6 +62,8 @@ typedef enum { * Check if the given storage type is marked as being optical disc * * Returns: %TRUE if the storage is marked as optical disc, %FALSE otherwise + * + * Since: 0.10 */ #define TRACKER_STORAGE_TYPE_IS_OPTICAL(type) ((type & TRACKER_STORAGE_OPTICAL) ? TRUE : FALSE) |