struct CCL::IProtocolHandlerRegistry
Overview
Registration interface for protocol handlers. More…
#include <iprotocolhandler.h> struct IProtocolHandlerRegistry: public CCL::IUnknown { // methods virtual tresult CCL_API registerProtocol (IProtocolHandler* handler) = 0; virtual tresult CCL_API unregisterProtocol (IProtocolHandler* handler) = 0; virtual IProtocolHandler*CCL_API getHandler (StringRef protocol) const = 0; };
Inherited Members
public: // methods virtual tresult CCL_API queryInterface (UIDRef iid, void** ptr) = 0; virtual unsigned int CCL_API retain () = 0; virtual unsigned int CCL_API release () = 0;
Detailed Documentation
Registration interface for protocol handlers.
Methods
virtual tresult CCL_API registerProtocol (IProtocolHandler* handler) = 0
Register handler for given protocol.
Handler object will be shared by registry.
virtual tresult CCL_API unregisterProtocol (IProtocolHandler* handler) = 0
Unregister protocol handler.
virtual IProtocolHandler*CCL_API getHandler (StringRef protocol) const = 0
Get handler for given protocol.