idlehomescreen/xmluirendering/uiengine/inc/xnplugindata.h
branchRCL_3
changeset 102 ba63c83f4716
parent 93 b01126ce0bec
--- a/idlehomescreen/xmluirendering/uiengine/inc/xnplugindata.h	Wed Sep 15 12:00:00 2010 +0300
+++ b/idlehomescreen/xmluirendering/uiengine/inc/xnplugindata.h	Wed Oct 13 14:18:30 2010 +0300
@@ -34,41 +34,9 @@
 class CXnODT;
 class CXnViewManager;
 class CXnPublisherData;
-class CCoeControl;
 
 // Constants
 
-NONSHARABLE_STRUCT( TXnDirtyRegion )
-    {
-    /** Area that needs to be redrawn */
-    RRegion         iRegion;      
-
-    /** Window owning control 
-     *  Not own.
-     */
-    CCoeControl*    iControl;
-
-    /** Window owning node
-     *  Not own.
-     */
-    CXnNode*        iRootNode; 
-
-    /** List of currently dirty nodes */
-    RPointerArray< CXnNode > iDirtyList;
-
-    /** Controls layouting */
-    TInt iLayoutControl;
-
-    TXnDirtyRegion() : iControl( NULL ), iRootNode( NULL ), 
-        iLayoutControl( 0 ) {}
-
-    ~TXnDirtyRegion()
-        {
-        iRegion.Close();
-        iDirtyList.Reset();
-        }
-    };
-
 // Class declaration
 
 /**
@@ -90,8 +58,7 @@
         EIsEmpty,
         EIsRemovable,
         EIsActive,             
-        EIsInitial,
-        EIsEditable
+        EIsInitial        
         };
         
 public:    
@@ -406,13 +373,6 @@
     inline TBool Removable() const;
     
     /*
-     * Checks whether editable
-     * 
-     * @return ETrue when editable EFalse when not
-     */      
-    inline TBool Editable() const;
-    
-    /*
      * Queries whether this plugin is holding "empty" widget
      * 
      * @return ETrue if empty, EFalse otherwise     
@@ -480,26 +440,12 @@
     void ShowOutOfMemError();
     
     /**
-     * Sets locking_status attribute (none/locked/permanent) 
+     * Sets locking_status attribute (locked/none) 
      * 
-     * @param aStatus "none" / "locked" / "permanent"
+     * @param aStatus "locked" / "none"
      */
     void SetLockingStatus( const TDesC8& aStatus );    
         
-    /**
-     * Creates dirty region.
-     * 
-     * @return Created dirty region.
-     */
-    TXnDirtyRegion* CreateDirtyRegionL( CXnNode& aRootNode, CCoeControl& aControl);
-
-    /**
-     * Get dirty region.
-     * 
-     * @return dirty region.
-     */
-    inline TXnDirtyRegion* DirtyRegion() const;
-
 protected:
     // data
         
@@ -539,8 +485,6 @@
     HBufC* iPublisherName;
     /** Flags to define this plugin's state */
     TBitFlags32 iFlags;
-    /** Region pending redraw, Owned */
-    TXnDirtyRegion* iDirtyRegion;
     };
 
 // Inline functions