foobar2000 SDK  2015-08-03
Functions
file_operation_callback.cpp File Reference

Go to the source code of this file.

Functions

static void g_on_files_copied_sorted (const pfc::list_base_const_t< const char * > &p_from, const pfc::list_base_const_t< const char * > &p_to)
 
static void g_on_files_deleted_sorted (const pfc::list_base_const_t< const char * > &p_items)
 
static void g_on_files_moved_sorted (const pfc::list_base_const_t< const char * > &p_from, const pfc::list_base_const_t< const char * > &p_to)
 

Function Documentation

static void g_on_files_copied_sorted ( const pfc::list_base_const_t< const char * > &  p_from,
const pfc::list_base_const_t< const char * > &  p_to 
)
static

Definition at line 20 of file file_operation_callback.cpp.

21 {
22  FB2K_FOR_EACH_SERVICE(file_operation_callback, on_files_copied_sorted(p_from,p_to));
23 }
Interface to notify component system about files being deleted or moved. Operates in app&#39;s main threa...
static void g_on_files_deleted_sorted ( const pfc::list_base_const_t< const char * > &  p_items)
static

Definition at line 4 of file file_operation_callback.cpp.

5 {
6  //static_api_ptr_t<library_manager>()->on_files_deleted_sorted(p_items);
7  static_api_ptr_t<playlist_manager>()->on_files_deleted_sorted(p_items);
8 
9  FB2K_FOR_EACH_SERVICE(file_operation_callback, on_files_deleted_sorted(p_items));
10 }
Helper template used to easily access core services. Usage: static_api_ptr_t<myclass> api; api->doso...
Definition: service.h:533
Interface to notify component system about files being deleted or moved. Operates in app&#39;s main threa...
static void g_on_files_moved_sorted ( const pfc::list_base_const_t< const char * > &  p_from,
const pfc::list_base_const_t< const char * > &  p_to 
)
static

Definition at line 12 of file file_operation_callback.cpp.

13 {
14  static_api_ptr_t<playlist_manager>()->on_files_moved_sorted(p_from,p_to);
15  static_api_ptr_t<playlist_manager>()->on_files_deleted_sorted(p_from);
16 
17  FB2K_FOR_EACH_SERVICE(file_operation_callback, on_files_moved_sorted(p_from,p_to));
18 }
Helper template used to easily access core services. Usage: static_api_ptr_t<myclass> api; api->doso...
Definition: service.h:533
Interface to notify component system about files being deleted or moved. Operates in app&#39;s main threa...