#include "api__in_mp3.h" #include template void ServiceBuild(api_T *&api_t, GUID factoryGUID_t) { if (mod.service) { waServiceFactory *factory = mod.service->service_getServiceByGuid(factoryGUID_t); if (factory) api_t = reinterpret_cast( factory->getInterface() ); } } template void ServiceRelease(api_T *api_t, GUID factoryGUID_t) { if (mod.service && api_t) { waServiceFactory *factory = mod.service->service_getServiceByGuid(factoryGUID_t); if (factory) factory->releaseInterface(api_t); } api_t = NULL; }