foobar2000 SDK  2015-08-03
Namespaces | Functions | Variables
service.cpp File Reference

Go to the source code of this file.

Namespaces

 service_impl_helper
 

Functions

void _standard_api_create_internal (service_ptr &out, const GUID &classID)
 
void service_impl_helper::release_object_delayed (service_ptr obj)
 

Variables

foobar2000_apig_foobar2000_api = NULL
 

Function Documentation

void _standard_api_create_internal ( service_ptr out,
const GUID classID 
)

Definition at line 48 of file service.cpp.

48  {
51  case 0:
52  throw exception_service_not_found();
53  case 1:
54  PFC_ASSERT_SUCCESS( service_factory_base::enum_create(out, c, 0) );
55  break;
56  default:
57  throw exception_service_duplicated();
58  }
59 }
const void * service_class_ref
Definition: service.h:4
static t_size enum_get_count(service_class_ref p_class)
Definition: service.cpp:18
static service_class_ref enum_find_class(const GUID &p_guid)
Definition: service.cpp:6
static bool enum_create(service_ptr_t< service_base > &p_out, service_class_ref p_class, t_size p_index)
Definition: service.cpp:12

Variable Documentation

foobar2000_api* g_foobar2000_api = NULL

Definition at line 4 of file service.cpp.