playlist_incoming_item_filter_v2 Class Reference

#include <playlist.h>

Inheritance diagram for playlist_incoming_item_filter_v2:

playlist_incoming_item_filter service_base playlist_incoming_item_filter_v3

List of all members.

Public Types

enum  { op_flag_no_filter = 1 << 0, op_flag_background = 1 << 1, op_flag_delay_ui = 1 << 2 }
typedef
playlist_incoming_item_filter_v2 
t_interface
typedef
playlist_incoming_item_filter 
t_interface_parent

Public Member Functions

virtual void process_locations_async (const pfc::list_base_const_t< const char * > &p_urls, t_uint32 p_op_flags, const char *p_restrict_mask_override, const char *p_exclude_mask_override, HWND p_parentwnd, process_locations_notify_ptr p_notify)=0
virtual void process_dropped_files_async (interface IDataObject *p_dataobject, t_uint32 p_op_flags, HWND p_parentwnd, process_locations_notify_ptr p_notify)=0

Static Public Attributes

static const GUID class_guid = { 0xf335802b, 0xa522, 0x434d, { 0xbe, 0x89, 0xe8, 0x6d, 0x59, 0x56, 0x16, 0x48 } }


Detailed Description

Since:
0.9.3

Member Typedef Documentation

Reimplemented from playlist_incoming_item_filter.

Reimplemented in playlist_incoming_item_filter_v3.

Reimplemented from playlist_incoming_item_filter.

Reimplemented in playlist_incoming_item_filter_v3.


Member Enumeration Documentation

anonymous enum

Enumerator:
op_flag_no_filter  Set this to disable presorting (according to user settings) and duplicate removal in output list. Should be unset in most cases.
op_flag_background  Set this flag to make the progress dialog not steal focus on creation.
op_flag_delay_ui  Set this flag to delay the progress dialog becoming visible, so it does not appear at all during short operations. Also implies op_flag_background effect.


Member Function Documentation

virtual void playlist_incoming_item_filter_v2::process_locations_async ( const pfc::list_base_const_t< const char * > &  p_urls,
t_uint32  p_op_flags,
const char *  p_restrict_mask_override,
const char *  p_exclude_mask_override,
HWND  p_parentwnd,
process_locations_notify_ptr  p_notify 
) [pure virtual]

Converts one or more paths to a list of metadb_handles. The function returns immediately; specified callback object receives results when the operation has completed.

Parameters:
p_urls List of paths to process.
p_op_flags Can be null, or one or more of op_flag_* enum values combined, altering behaviors of the operation.
p_restrict_mask_override Override of "restrict incoming items to" setting. Pass NULL to use the value from preferences.
p_exclude_mask_override Override of "exclude file types" setting. Pass NULL to use value from preferences.
p_parentwnd Parent window for spawned progress dialogs.
p_notify Callback receiving notifications about success/abort of the operation as well as output item list.

virtual void playlist_incoming_item_filter_v2::process_dropped_files_async ( interface IDataObject *  p_dataobject,
t_uint32  p_op_flags,
HWND  p_parentwnd,
process_locations_notify_ptr  p_notify 
) [pure virtual]

Converts an IDataObject to a list of metadb_handles. The function returns immediately; specified callback object receives results when the operation has completed.

Parameters:
p_dataobject IDataObject to process.
p_op_flags Can be null, or one or more of op_flag_* enum values combined, altering behaviors of the operation.
p_parentwnd Parent window for spawned progress dialogs.
p_notify Callback receiving notifications about success/abort of the operation as well as output item list.


Member Data Documentation

const GUID playlist_incoming_item_filter_v2::class_guid = { 0xf335802b, 0xa522, 0x434d, { 0xbe, 0x89, 0xe8, 0x6d, 0x59, 0x56, 0x16, 0x48 } } [static]

Reimplemented from playlist_incoming_item_filter.

Reimplemented in playlist_incoming_item_filter_v3.


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

Generated on Fri Apr 25 18:49:48 2008 for foobar2000 SDK by  doxygen 1.5.5