1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- #include "SimpleHandlerFactory.h"
- #include "SimpleHandler.h"
- static const GUID SimpleHandlerGUID =
- { 0x1ccf6445, 0xa452, 0x45e8, { 0xbe, 0x72, 0x84, 0x69, 0x91, 0xcb, 0xca, 0xf6 } };
- static Cef_Handler simpleHandler;
- FOURCC SimpleHandlerFactory::GetServiceType()
- {
- return svc_playlisthandler::getServiceType();
- }
- const char *SimpleHandlerFactory::GetServiceName()
- {
- return "Simple Playlist Loader";
- }
- GUID SimpleHandlerFactory::GetGuid()
- {
- return SimpleHandlerGUID;
- }
- void *SimpleHandlerFactory::GetInterface(int global_lock)
- {
-
-
- return &simpleHandler;
- }
- int SimpleHandlerFactory::ReleaseInterface(void *ifc)
- {
-
- return 1;
- }
- #define CBCLASS SimpleHandlerFactory
- START_DISPATCH;
- CB(WASERVICEFACTORY_GETSERVICETYPE, GetServiceType)
- CB(WASERVICEFACTORY_GETSERVICENAME, GetServiceName)
- CB(WASERVICEFACTORY_GETGUID, GetGuid)
- CB(WASERVICEFACTORY_GETINTERFACE, GetInterface)
- CB(WASERVICEFACTORY_RELEASEINTERFACE, ReleaseInterface)
- END_DISPATCH;
- #undef CBCLASS
|