ScriptFactory.h 477 B

123456789101112131415161718192021222324
  1. #pragma once
  2. #include "api.h"
  3. #include <api/service/waservicefactory.h>
  4. #include <api/service/services.h>
  5. class ScriptFactory : public waServiceFactory
  6. {
  7. public:
  8. FOURCC GetServiceType();
  9. const char *GetServiceName();
  10. GUID GetGUID();
  11. void *GetInterface(int global_lock);
  12. int SupportNonLockingInterface();
  13. int ReleaseInterface(void *ifc);
  14. const char *GetTestString();
  15. int ServiceNotify(int msg, int param1, int param2);
  16. void Stop();
  17. protected:
  18. RECVS_DISPATCH;
  19. };