foobar2000 SDK
2015-08-03
|
#include <metadb.h>
Private Member Functions | |
virtual void | dispatch_global_refresh ()=0 |
virtual void | dispatch_refresh (const GUID &index_id, const pfc::list_base_const_t< metadb_index_hash > &hashes)=0 |
void | dispatch_refresh (const GUID &index_id, const metadb_index_hash &hash) |
virtual void | erase_orphaned_data (const GUID &index_id)=0 |
virtual void | get_all_hashes (const GUID &index_id, pfc::list_base_t< metadb_index_hash > &out)=0 |
virtual void | get_ML_handles (const GUID &index_id, const metadb_index_hash &hash, metadb_handle_list_ref out)=0 |
virtual void | get_user_data (const GUID &index_id, const metadb_index_hash &hash, mem_block_container &out)=0 |
t_size | get_user_data_here (const GUID &index_id, const metadb_index_hash &hash, void *out, t_size outSize) |
template<typename t_array > | |
void | get_user_data_t (const GUID &index_id, const metadb_index_hash &hash, t_array &out) |
virtual bool | have_orphaned_data (const GUID &index_id)=0 |
virtual FB2K_MAKE_SERVICE_INTERFACE_ENTRYPOINT(metadb_index_manager) public void | remove (const GUID &index_id)=0 |
virtual void | save_index_data (const GUID &index_id)=0 |
virtual void | set_user_data (const GUID &index_id, const metadb_index_hash &hash, const void *data, t_size dataSize)=0 |
Additional Inherited Members | |
Public Types inherited from service_base | |
typedef service_base | t_interface |
Public Member Functions inherited from service_base | |
template<typename outPtr_t > | |
bool | cast (outPtr_t &outPtr) |
virtual int | service_add_ref ()=0 throw () |
virtual bool | service_query (service_ptr_t< service_base > &p_out, const GUID &p_guid) |
template<class T > | |
bool | service_query_t (service_ptr_t< T > &p_out) |
virtual int | service_release ()=0 throw () |
Protected Member Functions inherited from service_base | |
service_base () | |
~service_base () | |
|
privatepure virtual |
|
privatepure virtual |
|
inlineprivate |
|
privatepure virtual |
Deletes no longer needed index user data files.
For use with index IDs that are not currently registered only.
|
privatepure virtual |
Retrieves all known hash values for this index.
|
privatepure virtual |
Efficiently retrieves metadb_handles of items present in the Media Library matching the specified index value.
This can be called from the app main thread only (interfaces with the library_manager API).
|
privatepure virtual |
|
inlineprivate |
|
inlineprivate |
|
privatepure virtual |
Determines whether a no longer needed user data file for this index exists.
For use with index IDs that are not currently registered only.
|
privatepure virtual |
|
privatepure virtual |
Saves index user data file now. You normally don't need to call this; it's done automatically when saving foobar2000 configuration.
This will throw exceptions in case of a failure (out of disk space etc).
|
privatepure virtual |