file_operation_callback Class Reference

Interface to notify component system about files being deleted or moved. Operates in app's main thread only. More...

#include <file_operation_callback.h>

Inheritance diagram for file_operation_callback:

service_base

List of all members.

Public Types

typedef file_operation_callback t_interface_entrypoint
typedef file_operation_callback t_interface
typedef service_base t_interface_parent

Public Member Functions

virtual void on_files_deleted_sorted (const pfc::list_base_const_t< const char * > &p_items)=0
 p_items is a metadb::path_compare sorted list of files that have been deleted.
virtual void on_files_moved_sorted (const pfc::list_base_const_t< const char * > &p_from, const pfc::list_base_const_t< const char * > &p_to)=0
 p_from is a metadb::path_compare sorted list of files that have been moved, p_to is a list of corresponding target locations.
virtual void on_files_copied_sorted (const pfc::list_base_const_t< const char * > &p_from, const pfc::list_base_const_t< const char * > &p_to)=0
 p_from is a metadb::path_compare sorted list of files that have been copied, p_to is a list of corresponding target locations.

Static Public Member Functions

static void g_on_files_deleted (const pfc::list_base_const_t< const char * > &p_items)
static void g_on_files_moved (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_copied (const pfc::list_base_const_t< const char * > &p_from, const pfc::list_base_const_t< const char * > &p_to)

Static Public Attributes

static const GUID class_guid


Detailed Description

Interface to notify component system about files being deleted or moved. Operates in app's main thread only.

Member Typedef Documentation

Reimplemented from service_base.


Member Function Documentation

virtual void file_operation_callback::on_files_deleted_sorted ( const pfc::list_base_const_t< const char * > &  p_items  )  [pure virtual]

p_items is a metadb::path_compare sorted list of files that have been deleted.

virtual void file_operation_callback::on_files_moved_sorted ( const pfc::list_base_const_t< const char * > &  p_from,
const pfc::list_base_const_t< const char * > &  p_to 
) [pure virtual]

p_from is a metadb::path_compare sorted list of files that have been moved, p_to is a list of corresponding target locations.

virtual void file_operation_callback::on_files_copied_sorted ( const pfc::list_base_const_t< const char * > &  p_from,
const pfc::list_base_const_t< const char * > &  p_to 
) [pure virtual]

p_from is a metadb::path_compare sorted list of files that have been copied, p_to is a list of corresponding target locations.

static void file_operation_callback::g_on_files_deleted ( const pfc::list_base_const_t< const char * > &  p_items  )  [static]

static void file_operation_callback::g_on_files_moved ( const pfc::list_base_const_t< const char * > &  p_from,
const pfc::list_base_const_t< const char * > &  p_to 
) [static]

static void file_operation_callback::g_on_files_copied ( const pfc::list_base_const_t< const char * > &  p_from,
const pfc::list_base_const_t< const char * > &  p_to 
) [static]


Member Data Documentation

Initial value:

 
{ 0x5570a2d2, 0x8f9e, 0x48a7, { 0xaf, 0xac, 0xda, 0xc0, 0xa, 0x3c, 0x16, 0x36 } }


The documentation for this class was generated from the following files:

Generated on Fri Apr 18 13:56:51 2008 for foobar2000 SDK by  doxygen 1.5.5