--- src/ES2FileFormat/Header/IO/FKDestination.h.orig 2024-09-12 07:10:33 UTC +++ src/ES2FileFormat/Header/IO/FKDestination.h @@ -30,12 +30,12 @@ class CFKDestination : public IFKDestination (public) public: CFKDestination(); ~CFKDestination(); - FKDestinationType GetFKDestinationType() + FKDestinationType GetFKDestinationType() override { return m_eFKDestinationType; } - ES_CMN_FUNCS::BUFFER::IESBuffer& GetSource(); - void SetDelegate(IFKDestinationDelegate* piDelegate){ + ES_CMN_FUNCS::BUFFER::IESBuffer& GetSource() override; + void SetDelegate(IFKDestinationDelegate* piDelegate) override{ m_pcDelegate = piDelegate ; } void SetUserData(const ESImageInfo& dictImageInfo){ @@ -47,10 +47,10 @@ class CFKDestination : public IFKDestination (public) virtual void SetUserDataAsJson(ES_CHAR_CPTR pszUserDataAsJson) override; virtual void GetUserDataAsJson(IESResultString& pszUserDataAsJson) override; static IFKDestination* CreateAndInitInstanceWithType( FKDestinationType eType, ES_CMN_FUNCS::BUFFER::IESBuffer& cSource ); - void NotifyDidBeginReceivingForImageInfo( ES_CHAR_CPTR pszImageInfoAsJson ); - void NotifyDidEndReceivingForImageInfo( ES_CHAR_CPTR pszImageInfoAsJson ); + void NotifyDidBeginReceivingForImageInfo( ES_CHAR_CPTR pszImageInfoAsJson ) override; + void NotifyDidEndReceivingForImageInfo( ES_CHAR_CPTR pszImageInfoAsJson ) override; void NotifyReceiveImageData( ES_CMN_FUNCS::BUFFER::IESBuffer& cData, ES_CHAR_CPTR pszImageInfoAsJson ) override; - void Destroy(){ + void Destroy() override{ delete this; } };