mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-29 00:23:23 -05:00
495aebec40
- also some refactoring of the artwork code to diminish redundancy
20 lines
393 B
C
20 lines
393 B
C
|
|
#ifndef __ARTWORK_H__
|
|
#define __ARTWORK_H__
|
|
|
|
#define ART_CAN_PNG (1 << 0)
|
|
#define ART_CAN_JPEG (1 << 1)
|
|
|
|
#define ART_FMT_PNG 1
|
|
#define ART_FMT_JPEG 2
|
|
|
|
#include <event.h>
|
|
|
|
int
|
|
artwork_get_item(int id, int max_w, int max_h, int format, struct evbuffer *evbuf);
|
|
|
|
int
|
|
artwork_get_group(int id, int max_w, int max_h, int format, struct evbuffer *evbuf);
|
|
|
|
#endif /* !__ARTWORK_H__ */
|