#include <info_lookup_handler.h>

Public Types | |
| enum | { flag_album_lookup = 1 << 0, flag_track_lookup = 1 << 1 } |
| typedef info_lookup_handler | t_interface_entrypoint |
| typedef info_lookup_handler | t_interface |
| typedef service_base | t_interface_parent |
Public Member Functions | |
| virtual void | get_name (pfc::string_base &p_out)=0 |
| Retrieves human-readable name of the lookup handler to display in user interface. | |
| virtual t_uint32 | get_flags ()=0 |
| Returns one or more of flag_track_lookup, and flag_album_lookup. | |
| virtual HICON | get_icon (int p_width, int p_height)=0 |
| virtual void | lookup (const pfc::list_base_const_t< metadb_handle_ptr > &p_items, completion_notify_ptr p_notify, HWND p_parent)=0 |
Static Public Attributes | |
| static const GUID | class_guid = { 0x4fcfdab7, 0x55b5, 0x47d6, { 0xb1, 0x9d, 0xa4, 0xdc, 0x9f, 0xd7, 0x69, 0x4c } } |
Reimplemented from service_base.
| virtual void info_lookup_handler::get_name | ( | pfc::string_base & | p_out | ) | [pure virtual] |
Retrieves human-readable name of the lookup handler to display in user interface.
| virtual t_uint32 info_lookup_handler::get_flags | ( | ) | [pure virtual] |
Returns one or more of flag_track_lookup, and flag_album_lookup.
| virtual HICON info_lookup_handler::get_icon | ( | int | p_width, | |
| int | p_height | |||
| ) | [pure virtual] |
| virtual void info_lookup_handler::lookup | ( | const pfc::list_base_const_t< metadb_handle_ptr > & | p_items, | |
| completion_notify_ptr | p_notify, | |||
| HWND | p_parent | |||
| ) | [pure virtual] |
Performs a lookup. Creates a modeless dialog and returns immediately.
| p_items | Items to look up. | |
| p_notify | Callback to notify caller when the operation has completed. Call on_completion with status code 0 to signal failure/abort, or with code 1 to signal success / new infos in metadb. | |
| p_parent | Parent window for the lookup dialog. Caller will typically disable the window while lookup is in progress and enable it back when completion is signaled. |
const GUID info_lookup_handler::class_guid = { 0x4fcfdab7, 0x55b5, 0x47d6, { 0xb1, 0x9d, 0xa4, 0xdc, 0x9f, 0xd7, 0x69, 0x4c } } [static] |
1.5.5