Initial community commit
This commit is contained in:
parent
537bcbc862
commit
fc06254474
16440 changed files with 4239995 additions and 2 deletions
30
Src/playlist/factory_Handler.h
Normal file
30
Src/playlist/factory_Handler.h
Normal file
|
@ -0,0 +1,30 @@
|
|||
#ifndef NULLSOFT_FACTORY_HANDLER_H
|
||||
#define NULLSOFT_FACTORY_HANDLER_H
|
||||
|
||||
#include <api/service/waservicefactory.h>
|
||||
#include <api/service/services.h>
|
||||
|
||||
class CommonHandlerFactory : public waServiceFactory
|
||||
{
|
||||
public:
|
||||
|
||||
FOURCC GetServiceType();
|
||||
int SupportNonLockingInterface();
|
||||
int ReleaseInterface(void *ifc);
|
||||
const char *GetTestString();
|
||||
int ServiceNotify(int msg, int param1, int param2);
|
||||
|
||||
};
|
||||
|
||||
#define DECLARE_HANDLER_FACTORY(CLASSNAME) class CLASSNAME : public CommonHandlerFactory {\
|
||||
public:\
|
||||
const char *GetServiceName();\
|
||||
GUID GetGUID();\
|
||||
void *GetInterface(int global_lock);\
|
||||
protected:\
|
||||
RECVS_DISPATCH;}
|
||||
|
||||
DECLARE_HANDLER_FACTORY(M3UHandlerFactory);
|
||||
DECLARE_HANDLER_FACTORY(PLSHandlerFactory);
|
||||
DECLARE_HANDLER_FACTORY(B4SHandlerFactory);
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue