|
Krotos Modules 3
|
A hook for preset bundle loading that rewrites relative asset paths in a kwidget to be absolute to the a given directory. More...
#include <RelativeSamplePathRewriteHook.h>
Public Member Functions | |
| void | onKwidgetLoad (KwidgetLoadRequest &request, KwidgetLoadResponse &response) override |
| Handles the Kwidget load event, potentially rewriting relative sample paths. | |
| void | onPresetLoad (PresetLoadRequest &request, PresetLoadResponse &response) |
| Handles the preset load event, potentially rewriting relative sample paths. | |
Public Member Functions inherited from krotos::PresetEventHook | |
| virtual | ~PresetEventHook ()=default |
| Virtual destructor for proper cleanup of derived classes. | |
A hook for preset bundle loading that rewrites relative asset paths in a kwidget to be absolute to the a given directory.
|
overridevirtual |
Handles the Kwidget load event, potentially rewriting relative sample paths.
| request | The Kwidget load request. |
| response | The response to be filled with the result of the operation. |
Implements krotos::PresetEventHook.
|
virtual |
Handles the preset load event, potentially rewriting relative sample paths.
| request | The preset load request. |
| response | The response to be filled with the result of the operation. |
Implements krotos::PresetEventHook.