22 virtual bool is_path_addable(
const char * p_path) = 0;
43 virtual bool is_library_enabled() = 0;
45 virtual void show_preferences() = 0;
48 virtual void rescan() = 0;
63 __declspec(deprecated)
virtual bool is_rescan_running() = 0;
136 virtual GUID get_preferences_page() = 0;
138 virtual bool have_activate() = 0;
140 virtual void activate() = 0;
142 virtual GUID get_guid() = 0;
144 virtual const char * get_name() = 0;
160 virtual void show(
const char * query) = 0;
175 virtual library_file_move_scope::ptr acquire_scope() = 0;
176 virtual bool is_move_in_progress() = 0;
182 virtual void on_state_change(
bool isMoving) = 0;
Implement this service to appear on "library viewers" list in Media Library preferences page...
Interface for use with library_manager::enum_items().
__declspec(dllexport) foobar2000_client *_cdecl foobar2000_get_interface(foobar2000_api *p_api
library_callback_dynamic_impl_base()
Callback service receiving notifications about Media Library content changes. Methods called only fro...
void on_items_modified(metadb_handle_list_cref p_data)
Base class for all service classes. Provides interfaces for reference counter and querying for differ...
FB2K_MAKE_SERVICE_INTERFACE(library_manager_v2, library_manager)
~library_callback_dynamic_impl_base()
void on_items_added(metadb_handle_list_cref p_data)
void on_items_removed(metadb_handle_list_cref p_data)
Helper template used to easily access core services. Usage: static_api_ptr_t<myclass> api; api->doso...