1
0

browserFactory.h 984 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #ifndef NULLSOFT_WINAMP_OMBROWSER_SERVICEFACTORY_HEADER
  2. #define NULLSOFT_WINAMP_OMBROWSER_SERVICEFACTORY_HEADER
  3. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  4. #pragma once
  5. #endif
  6. #include <api/service/waservicefactory.h>
  7. #include <api/service/services.h>
  8. class obj_ombrowser;
  9. class OmBrowserFactory : public waServiceFactory
  10. {
  11. public:
  12. OmBrowserFactory() {}
  13. ~OmBrowserFactory() {}
  14. FOURCC GetServiceType();
  15. const char *GetServiceName();
  16. const char *GetTestString();
  17. GUID GetGUID();
  18. void *GetInterface( int global_lock = 1 );
  19. int ReleaseInterface( void *ifc );
  20. int SupportNonLockingInterface();
  21. int ServiceNotify( int msg, int param1, int param2 );
  22. HRESULT Register( api_service *service );
  23. HRESULT Unregister( api_service *service );
  24. protected:
  25. RECVS_DISPATCH;
  26. };
  27. #endif //NULLSOFT_WINAMP_OMBROWSER_SERVICEFACTORY_HEADER