X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fdevel-api%2Fadaptor-framework%2Fnative-image-source-devel.h;h=3ddc317ea6b03e1b8cc94390290f793b7ec32362;hb=06e1bc7147010573ecfad8977280220ed03843a7;hp=605cca5c395afde19f041aea926b1605462baf46;hpb=a8616553984c8f7ccfd0ab1946367aa8d4f7e6ba;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/devel-api/adaptor-framework/native-image-source-devel.h b/dali/devel-api/adaptor-framework/native-image-source-devel.h index 605cca5..3ddc317 100644 --- a/dali/devel-api/adaptor-framework/native-image-source-devel.h +++ b/dali/devel-api/adaptor-framework/native-image-source-devel.h @@ -19,6 +19,8 @@ // EXTERNAL INCLUDES #include +#include + namespace Dali { @@ -60,6 +62,15 @@ DALI_ADAPTOR_API uint8_t* AcquireBuffer(NativeImageSource& image, uint16_t& widt */ DALI_ADAPTOR_API bool ReleaseBuffer(NativeImageSource& image); +/** + * @brief Set the Resource Destruction Callback object + * + * @param image The instance of NativeImageSource. + * @param callback The Resource Destruction callback + * @note Ownership of the callback is passed onto this class. + */ +DALI_ADAPTOR_API void SetResourceDestructionCallback(NativeImageSource& image, EventThreadCallback* callback); + } // namespace DevelNativeImageSource } // namespace Dali