diff options
author | Jef <jef@targetspot.com> | 2024-09-24 08:54:57 -0400 |
---|---|---|
committer | Jef <jef@targetspot.com> | 2024-09-24 08:54:57 -0400 |
commit | 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d (patch) | |
tree | 12f17f78986871dd2cfb0a56e5e93b545c1ae0d0 /Src/Wasabi/api/service/api_servicex.h | |
parent | 537bcbc86291b32fc04ae4133ce4d7cac8ebe9a7 (diff) | |
download | winamp-20d28e80a5c861a9d5f449ea911ab75b4f37ad0d.tar.gz |
Initial community commit
Diffstat (limited to 'Src/Wasabi/api/service/api_servicex.h')
-rw-r--r-- | Src/Wasabi/api/service/api_servicex.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/Src/Wasabi/api/service/api_servicex.h b/Src/Wasabi/api/service/api_servicex.h new file mode 100644 index 00000000..650d6b97 --- /dev/null +++ b/Src/Wasabi/api/service/api_servicex.h @@ -0,0 +1,44 @@ +// ---------------------------------------------------------------------------- +// Generated by InterfaceFactory [Wed May 07 00:56:11 2003] +// +// File : api_servicex.h +// Class : api_service +// class layer : Dispatchable Receiver +// ---------------------------------------------------------------------------- + +#ifndef __API_SERVICEX_H +#define __API_SERVICEX_H + +#include "api_service.h" + +class waServiceFactory; + + + +// ---------------------------------------------------------------------------- + +class api_serviceX : public api_service { + protected: + api_serviceX() {} + public: + virtual int service_register(waServiceFactory *svc)=0; + virtual int service_deregister(waServiceFactory *svc)=0; + virtual int service_getNumServices(FOURCC svc_type)=0; + virtual waServiceFactory *service_enumService(FOURCC svc_type, int n)=0; + virtual waServiceFactory *service_getServiceByGuid(GUID guid)=0; + virtual int service_lock(waServiceFactory *owner, void *svcptr)=0; + virtual int service_clientLock(void *svcptr)=0; + virtual int service_release(void *svcptr)=0; + virtual const char *service_getTypeName(FOURCC svc_type)=0; + #ifdef WASABI_COMPILE_COMPONENTS + virtual GUID service_getOwningComponent(void *svcptr)=0; + virtual GUID service_getLockingComponent(void *svcptr)=0; + #endif // WASABI_COMPILE_COMPONENTS + virtual int service_unlock(void *svcptr)=0; + virtual int service_isvalid(FOURCC svctype, waServiceFactory *service)=0; + + protected: + RECVS_DISPATCH; +}; + +#endif // __API_SERVICEX_H |