[4.0] When native image is destroyed, It call TriggerEventInterface callback.
[platform/core/uifw/dali-adaptor.git] / adaptors / tizen / native-image-source-impl.h
old mode 100755 (executable)
new mode 100644 (file)
index 505d8b2..a724d1e
@@ -63,6 +63,7 @@ public:
    */
   Any GetNativeImageSource() const;
 
+
   /**
    * @copydoc Dali::NativeImageSource::GetPixels()
    */
@@ -155,6 +156,11 @@ public:
    */
   int GetEglImageTextureTarget();
 
+  /**
+   * @copydoc Dali::NativeImageInterface::Extension::SetDestructorNotification((void *notification)
+   */
+  void SetDestructorNotification(void* notification);
+
 private:
 
   /**
@@ -189,6 +195,7 @@ private:
   void* mEglImageKHR;                         ///< From EGL extension
   EglImageExtensions* mEglImageExtensions;    ///< The EGL Image Extensions
   bool mSetSource;
+  void *mNotification;
 };
 
 } // namespace Adaptor