aboutsummaryrefslogtreecommitdiff
path: root/Src/Wasabi2/Winamp5ArtworkManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Wasabi2/Winamp5ArtworkManager.h')
-rw-r--r--Src/Wasabi2/Winamp5ArtworkManager.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/Src/Wasabi2/Winamp5ArtworkManager.h b/Src/Wasabi2/Winamp5ArtworkManager.h
new file mode 100644
index 00000000..9eed71f8
--- /dev/null
+++ b/Src/Wasabi2/Winamp5ArtworkManager.h
@@ -0,0 +1,17 @@
+#pragma once
+#include "metadata/api_artwork.h"
+
+#include "nswasabi/ServiceName.h"
+#include "nx/nx.h"
+
+class Winamp5ArtworkManager : public api_artwork
+{
+public:
+ WASABI_SERVICE_NAME("Winamp5 Artwork Manager API");
+
+private:
+ /* returns the data for the first piece of artwork found
+ pass NULL for any of the values that you don't care about */
+ int WASABICALL Artwork_GetArtwork(nx_uri_t filename, unsigned int field, artwork_t *artwork, data_flags_t flags, nx_time_unix_64_t *filename_modified);
+
+};