summaryrefslogtreecommitdiff
path: root/libmediaart/extract.h
diff options
context:
space:
mode:
authorMartyn Russell <martyn@lanedo.com>2014-02-25 16:54:14 +0000
committerMartyn Russell <martyn@lanedo.com>2014-06-23 05:31:45 +0100
commit0d231f230f4fa0851d0cc05d5133b167f35539b5 (patch)
tree1f290de23c5d804801f8a1b857ca836650e2a7a7 /libmediaart/extract.h
parentadaa018c98736d854b5146838e4af3a578bfe8ba (diff)
downloadlibmediaart-0d231f230f4fa0851d0cc05d5133b167f35539b5.tar.gz
extract: Add _SYMLINK_FAILED error and report symlink() failure in get_heuristic()
Diffstat (limited to 'libmediaart/extract.h')
-rw-r--r--libmediaart/extract.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/libmediaart/extract.h b/libmediaart/extract.h
index 68dd308..a17c8c9 100644
--- a/libmediaart/extract.h
+++ b/libmediaart/extract.h
@@ -51,7 +51,11 @@ typedef enum {
* MediaArtError:
* @MEDIA_ART_ERROR_NO_STORAGE: Storage information is unknown, we
* have no knowledge about removable media.
- * @MEDIA_ART_ERROR_NO_TITLE: Title is required, but was not provided, or was empty.
+ * @MEDIA_ART_ERROR_NO_TITLE: Title is required, but was not provided,
+ * or was empty.
+ * @MEDIA_ART_ERROR_SYMLINK_FAILED: A call to symlink() failed
+ * resulting in the incorrect storage of media art.
+ * @MEDIA_ART_ERROR_RENAME_FAILED: File could not be renamed.
*
* Enumeration values used in errors returned by the
* #MediaArtError API.
@@ -60,7 +64,9 @@ typedef enum {
**/
typedef enum {
MEDIA_ART_ERROR_NO_STORAGE,
- MEDIA_ART_ERROR_NO_TITLE
+ MEDIA_ART_ERROR_NO_TITLE,
+ MEDIA_ART_ERROR_SYMLINK_FAILED,
+ MEDIA_ART_ERROR_RENAME_FAILED
} MediaArtError;
#define MEDIA_ART_ERROR media_art_error_quark ()