Module Context Hook Service. More...
Public Member Functions | |
virtual | ~ModuleFindHook () |
virtual void | Find (const ModuleContext *context, ShrinkableVector< Module * > &modules)=0 |
Find hook method. More... | |
Module Context Hook Service.
Modules registering this service will be called during module find (get modules) operations.
|
virtual |
|
pure virtual |
Find hook method.
This method is called for module find operations using ModuleContext::GetBundle(long) and ModuleContext::GetModules() methods. The find method can filter the result of the find operation.
context | The module context of the module performing the find operation. |
modules | A list of Modules to be returned as a result of the find operation. The implementation of this method may remove modules from the list to prevent the modules from being returned to the module performing the find operation. |