--- a/uifw/AvKon/inc/AknPreviewPopUp.h Tue Aug 31 15:28:30 2010 +0300
+++ b/uifw/AvKon/inc/AknPreviewPopUp.h Wed Sep 01 12:16:19 2010 +0100
@@ -113,14 +113,7 @@
*/
void Draw( CWindowGc& aGc, const CCoeControl& aControl,
const TRect& aRect ) const;
-
- /**
- * From CCoeControl. Sets this control as visible or invisible.
- * @param aVisible ETrue to make the control visible, EFalse to make it
- * invisible.
- */
- void MakeVisible( TBool aVisible );
-
+
/**
* From CCoeControl. Gets the number of component controls contained by
* this control.
@@ -214,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
@@ -249,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;
};