foobar2000 SDK  2015-08-03
Private Member Functions
ole_interactionabstract

#include <ole_interaction.h>

+ Inheritance diagram for ole_interaction:

Private Member Functions

virtual HRESULT check_dataobject (pfc::com_ptr_t< IDataObject > obj, DWORD &dropEffect, bool &isNative)=0
 
virtual HRESULT check_dataobject_playlists (pfc::com_ptr_t< IDataObject > obj)=0
 
virtual pfc::com_ptr_t< IDataObjectcreate_dataobject (metadb_handle_list_cref source)=0
 
virtual pfc::com_ptr_t< IDataObjectcreate_dataobject (const playlist_dataobject_desc &source)=0
 
virtual FB2K_MAKE_SERVICE_INTERFACE_ENTRYPOINT(ole_interaction) public t_uint32 get_clipboard_format (t_uint32 which)=0
 
virtual HRESULT parse_dataobject (pfc::com_ptr_t< IDataObject > obj, dropped_files_data &out)=0
 
virtual HRESULT parse_dataobject_immediate (pfc::com_ptr_t< IDataObject > obj, metadb_handle_list_ref out)=0
 
virtual HRESULT parse_dataobject_playlists (pfc::com_ptr_t< IDataObject > obj, playlist_dataobject_desc &out)=0
 

Additional Inherited Members

- Public Types inherited from service_base
typedef service_base t_interface
 
- Public Member Functions inherited from service_base
template<typename outPtr_t >
bool cast (outPtr_t &outPtr)
 
virtual int service_add_ref ()=0 throw ()
 
virtual bool service_query (service_ptr_t< service_base > &p_out, const GUID &p_guid)
 
template<class T >
bool service_query_t (service_ptr_t< T > &p_out)
 
virtual int service_release ()=0 throw ()
 
- Protected Member Functions inherited from service_base
 service_base ()
 
 ~service_base ()
 

Detailed Description

Since
0.9.5 Provides various methods for interaction between foobar2000 and OLE IDataObjects, Windows Clipboard, drag&drop and such. To instantiate, use static_api_ptr_t<ole_interaction>.

Definition at line 105 of file ole_interaction.h.

Member Function Documentation

virtual HRESULT ole_interaction::check_dataobject ( pfc::com_ptr_t< IDataObject obj,
DWORD &  dropEffect,
bool &  isNative 
)
privatepure virtual

Checks whether the specified IDataObject appears to be parsable by our parse_dataobject methods.

virtual HRESULT ole_interaction::check_dataobject_playlists ( pfc::com_ptr_t< IDataObject obj)
privatepure virtual

Checks whether the specified IDataObject appears to be parsable as playlists (parse_dataobject_playlists method).

virtual pfc::com_ptr_t<IDataObject> ole_interaction::create_dataobject ( metadb_handle_list_cref  source)
privatepure virtual

Creates an IDataObject from a group of tracks.

virtual pfc::com_ptr_t<IDataObject> ole_interaction::create_dataobject ( const playlist_dataobject_desc source)
privatepure virtual

Creates an IDataObject from one or more playlists, including playlist name info for re-creating those playlists later.

virtual FB2K_MAKE_SERVICE_INTERFACE_ENTRYPOINT (ole_interaction) public t_uint32 ole_interaction::get_clipboard_format ( t_uint32  which)
privatepure virtual

Retrieves clipboard format ID for one of foobar2000's internal data formats.

Parameters
whichOne of KClipboardFormat* constants.
virtual HRESULT ole_interaction::parse_dataobject ( pfc::com_ptr_t< IDataObject obj,
dropped_files_data out 
)
privatepure virtual

Attempts to parse an IDataObject into a dropped_files_data object (list of metadb_handles if immediately available, list of file paths otherwise).

virtual HRESULT ole_interaction::parse_dataobject_immediate ( pfc::com_ptr_t< IDataObject obj,
metadb_handle_list_ref  out 
)
privatepure virtual

For internal use only. Will succeed only if the metadb_handle list can be generated immediately, without performing potentially timeconsuming tasks such as parsing media files (for an example when the specified IDataObject contains data in one of our internal formats).

virtual HRESULT ole_interaction::parse_dataobject_playlists ( pfc::com_ptr_t< IDataObject obj,
playlist_dataobject_desc out 
)
privatepure virtual

Attempts to parse an IDataObject as playlists.


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