foobar2000 SDK  2015-08-03
Typedefs | Functions
fb2k Namespace Reference

Typedefs

typedef std::function< void(unsigned)> completionNotifyFunc_t
 

Functions

void inMainThread (std::function< void() > f)
 
completion_notify::ptr makeCompletionNotify (completionNotifyFunc_t)
 

Typedef Documentation

typedef std::function<void (unsigned)> fb2k::completionNotifyFunc_t

Definition at line 79 of file completion_notify.h.

Function Documentation

void fb2k::inMainThread ( std::function< void() >  f)

Definition at line 27 of file main_thread_callback.cpp.

27  {
29 }
Template implementing reference-counting features of service_base. Intended for dynamic instantiation...
Definition: service_impl.h:4
void main_thread_callback_add(main_thread_callback::ptr ptr)
completion_notify::ptr fb2k::makeCompletionNotify ( completionNotifyFunc_t  func)

Modern completion_notify helper.

Definition at line 81 of file completion_notify.cpp.

81  {
83  n->m_func = func;
84  return n;
85  }
Template implementing reference-counting features of service_base. Intended for dynamic instantiation...
Definition: service_impl.h:4
Autopointer class to be used with all services. Manages reference counter calls behind-the-scenes.
Definition: service.h:55