#include <album_art_helpers.h>
Implements album_art_data.
Definition at line 2 of file album_art_helpers.h.
Reads picture data from the specified stream object.
Definition at line 11 of file album_art_helpers.h.
void set_size(t_size p_size)
const void * get_ptr() const
Retrieves a pointer to a memory block containing the picture.
Creates an album_art_data object from picture data contained in a memory buffer.
Definition at line 16 of file album_art_helpers.h.
18 instance->set_size(p_bytes);
19 memcpy(instance->
get_ptr(),p_buffer,p_bytes);
Template implementing reference-counting features of service_base. Intended for dynamic instantiation...
Autopointer class to be used with all services. Manages reference counter calls behind-the-scenes.
Creates an album_art_data object from picture data contained in a stream.
Definition at line 23 of file album_art_helpers.h.
25 instance->from_stream(p_stream,p_bytes,p_abort);
Template implementing reference-counting features of service_base. Intended for dynamic instantiation...
Autopointer class to be used with all services. Manages reference counter calls behind-the-scenes.
const void* album_art_data_impl::get_ptr |
( |
| ) |
const |
|
inlinevirtual |
Retrieves a pointer to a memory block containing the picture.
Implements album_art_data.
Definition at line 4 of file album_art_helpers.h.
const t_item * get_ptr() const
pfc::array_t< t_uint8 > m_content
void* album_art_data_impl::get_ptr |
( |
| ) |
|
|
inline |
Definition at line 7 of file album_art_helpers.h.
const t_item * get_ptr() const
pfc::array_t< t_uint8 > m_content
t_size album_art_data_impl::get_size |
( |
| ) |
const |
|
inlinevirtual |
void album_art_data_impl::set_size |
( |
t_size |
p_size | ) |
|
|
inline |
Definition at line 8 of file album_art_helpers.h.
void set_size(t_size p_size)
pfc::array_t< t_uint8 > m_content
The documentation for this class was generated from the following file: