foobar2000 SDK  2015-01-14
info_lookup_handler.h
Go to the documentation of this file.
1 class NOVTABLE info_lookup_handler : public service_base {
3 public:
4  enum {
5  flag_album_lookup = 1 << 0,
6  flag_track_lookup = 1 << 1,
7  };
8 
10  virtual void get_name(pfc::string_base & p_out) = 0;
11 
13  virtual t_uint32 get_flags() = 0;
14 
15  virtual HICON get_icon(int p_width, int p_height) = 0;
16 
21  virtual void lookup(metadb_handle_list_cref items,completion_notify::ptr notify,HWND parent) = 0;
22 
23  FB2K_MAKE_SERVICE_INTERFACE_ENTRYPOINT(info_lookup_handler);
24 };
25 
26 
28  FB2K_MAKE_SERVICE_INTERFACE(info_lookup_handler_v2, info_lookup_handler);
29 public:
30  virtual double merit() {return 0;}
31  virtual void lookup_noninteractive(metadb_handle_list_cref items, completion_notify::ptr notify, HWND parent) = 0;
32 };
Service used to access various external (online) track info lookup services, such as freedb...
Base class for all service classes. Provides interfaces for reference counter and querying for differ...
Definition: service.h:333
uint32_t t_uint32
Definition: int_types.h:5