diff --git a/bin/x64/Release/AIConnectorSDK.dll b/bin/x64/Release/AIConnectorSDK.dll index f49af98..8b35fa7 100644 Binary files a/bin/x64/Release/AIConnectorSDK.dll and b/bin/x64/Release/AIConnectorSDK.dll differ diff --git a/include/AIConnectorAPI.h b/include/AIConnectorAPI.h index 9aad160..689ef6c 100644 --- a/include/AIConnectorAPI.h +++ b/include/AIConnectorAPI.h @@ -14,7 +14,7 @@ extern "C" { bool KVS_API AIPV_Stop(uint32_t handle); bool KVS_API AIPV_UploadImage(uint32_t handle, AIPV::AIPVFrameHeader* imgHeader, uint8_t* imgData); - bool KVS_API AIPV_MonitorDir(uint32_t handle, const wchar_t* dirPath, AIPV::fcbBeforeUpload callback, void* userData); + bool KVS_API AIPV_MonitorDir(uint32_t handle, const wchar_t* dirPath, AIPV::fcbBeforeUpload callback/*, void* userData*/); bool KVS_API AIPV_SubscribeAIResult(uint32_t handle, bool enable, AIPV::fcbAIPVResult callback); // module settings diff --git a/include/AIPVProtocol.h b/include/AIPVProtocol.h index 1bd59cb..01e3363 100644 --- a/include/AIPVProtocol.h +++ b/include/AIPVProtocol.h @@ -145,7 +145,9 @@ namespace AIPV { #pragma pack(pop) #pragma endregion - using fcbBeforeUpload = std::function; + //using fcbBeforeUpload = std::function; + typedef bool(*fcbBeforeUpload)(AIPVFrameHeader* imgHeader, uint8_t* imgData); + //using fcbAIPVResult = std::function; typedef void(*fcbAIPVResult )(AIPVResult* result, AIPVStitchResultHeader* stitchresult, uint8_t* mStitchImgData); //using fcbAIPVResult = std::function;