1
0

AlbumArt.h 1.1 KB

1234567891011121314151617181920212223242526
  1. #ifndef NULLSOFT_WINAMP_ALBUMART_H
  2. #define NULLSOFT_WINAMP_ALBUMART_H
  3. #include "../Agave/AlbumArt/api_albumart.h"
  4. class AlbumArt : public api_albumart
  5. {
  6. public:
  7. static const char *getServiceName() { return "Album Art API"; }
  8. static const GUID getServiceGuid() { return albumArtGUID; }
  9. public:
  10. int GetAlbumArt(const wchar_t *filename, const wchar_t *type, int *w, int *h, ARGB32 **bits);
  11. int GetAlbumArtData(const wchar_t *filename, const wchar_t *type, void **bits, size_t *len, wchar_t **mimeType);
  12. int GetAlbumArt_NoAMG(const wchar_t *filename, const wchar_t *type, int *w, int *h, ARGB32 **bits);
  13. int GetAlbumArtOrigin(const wchar_t *filename, const wchar_t *type, wchar_t **mimeType);
  14. int GetAlbumArtTypes(const wchar_t *filename, wchar_t **types);
  15. int GetValidAlbumArtTypes(const wchar_t *filename, wchar_t **type);
  16. int SetAlbumArt(const wchar_t *filename, const wchar_t *type, int w, int h, const void *bits, size_t len, const wchar_t *mimeType);
  17. int DeleteAlbumArt(const wchar_t *filename, const wchar_t *type);
  18. int CopyAlbumArt(const wchar_t *sourceFilename, const wchar_t *destinationFilename);
  19. protected:
  20. RECVS_DISPATCH;
  21. };
  22. #endif