Add pre detection hooks to resource manager. Closes #2184
This commit is contained in:
parent
5ae6ef2c79
commit
5b4d55bb42
5 changed files with 39 additions and 3 deletions
|
|
@ -49,4 +49,13 @@ public:
|
|||
{
|
||||
ResourceManager::get()->RegisterDynamicDetector(name, detector);
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
class PreDetectionHook
|
||||
{
|
||||
public:
|
||||
PreDetectionHook(PreDetectionHookFunction hook)
|
||||
{
|
||||
ResourceManager::get()->RegisterPreDetectionHook(hook);
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue