diff options
Diffstat (limited to 'Whisper/API/sLoadModelCallbacks.h')
| -rw-r--r-- | Whisper/API/sLoadModelCallbacks.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Whisper/API/sLoadModelCallbacks.h b/Whisper/API/sLoadModelCallbacks.h new file mode 100644 index 0000000..f5248c6 --- /dev/null +++ b/Whisper/API/sLoadModelCallbacks.h @@ -0,0 +1,14 @@ +#pragma once + +namespace Whisper +{ + using pfnLoadProgress = HRESULT( __stdcall* )( double val, void* pv ) noexcept; + using pfnCancel = HRESULT( __stdcall* )( void* pv ) noexcept; + + struct sLoadModelCallbacks + { + pfnLoadProgress progress; + pfnCancel cancel; + void* pv; + }; +}
\ No newline at end of file |
