--- a/uifw/AvKon/inc/AknPreviewPopUp.h Tue May 11 16:27:42 2010 +0300
+++ b/uifw/AvKon/inc/AknPreviewPopUp.h Tue May 25 12:58:19 2010 +0300
@@ -207,6 +207,13 @@
* @param aRect Rect to draw.
*/
void DrawBackground( CWindowGc& aGc, const TRect& aRect ) const;
+
+ /**
+ * Cleans the internal pointer which is used
+ * to track object deletion.
+ * @param aParam Pointer to preview popup object.
+ */
+ static void CleanLocalRef( TAny* aParam );
private: // Data
@@ -242,6 +249,10 @@
// It is true when user clicks the popup, transfer pointer up event to its child control
TBool iAllowUpEvent;
+
+ // Stores the local variable address, which is used
+ // to mark whether this object has been deleted
+ TBool* iIsDeleted;
};