foobar2000 SDK  2015-08-03
Public Member Functions
completion_notify_dummy

#include <completion_notify.h>

+ Inheritance diagram for completion_notify_dummy:

Public Member Functions

void on_completion (unsigned p_code)
 
- Public Member Functions inherited from completion_notify
 FB2K_MAKE_SERVICE_INTERFACE (completion_notify, service_base)
 
void on_completion_async (unsigned p_code)
 
- 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 ()
 

Additional Inherited Members

- Public Types inherited from service_base
typedef service_base t_interface
 
- Static Public Member Functions inherited from completion_notify
static void g_signal_completion_async (service_ptr_t< completion_notify > p_notify, unsigned p_code)
 
- Protected Member Functions inherited from service_base
 service_base ()
 
 ~service_base ()
 

Detailed Description

Implementation helper.

Definition at line 21 of file completion_notify.h.

Member Function Documentation

void completion_notify_dummy::on_completion ( unsigned  p_code)
inlinevirtual

Called when an async operation has been completed. Note that on_completion is always called from main thread. You can use on_completion_async() helper if you need to signal completion while your context is in another thread.
IMPLEMENTATION WARNING: If process being completed creates a window taking caller's window as parent, you must not destroy the parent window inside on_completion(). If you need to do so, use PostMessage() or main_thread_callback to delay the deletion.

Parameters
p_codeContext-specific status code. Possible values depend on the operation being performed.

Implements completion_notify.

Definition at line 23 of file completion_notify.h.

23 {}

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