idlehomescreen/widgetmanager/inc/wmspbgcleaner.h
branchRCL_3
changeset 83 5456b4e8b3a8
parent 34 d05a55b217df
equal deleted inserted replaced
82:5f0182e07bfb 83:5456b4e8b3a8
       
     1 /*
       
     2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies)..
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 * Declares statuspane's background cleaner.
       
    16 *
       
    17 */
       
    18 
       
    19 #ifndef __WMSPBGCLEANER_
       
    20 #define __WMSPBGCLEANER_
       
    21 
       
    22 // Forward declarations
       
    23 
       
    24 /**
       
    25  * Statuspane background cleaner.
       
    26  * 
       
    27  * @class   CWmSpBgCleaner wmspbgcleaner.h
       
    28  */
       
    29 NONSHARABLE_CLASS( CWmSpBgCleaner ) : public CCoeControl
       
    30     {
       
    31 public:
       
    32     /**
       
    33      * Two-phased constructors.
       
    34      */
       
    35     static CWmSpBgCleaner* NewL();
       
    36     static CWmSpBgCleaner* NewLC();
       
    37     
       
    38     /** Destructor */
       
    39     ~CWmSpBgCleaner();
       
    40     
       
    41 private:    
       
    42     /** constructor */
       
    43     CWmSpBgCleaner();
       
    44     
       
    45     /** 2nd phase constructor */
       
    46     void ConstructL();
       
    47     
       
    48 
       
    49 protected: // from base class CCoeControl
       
    50     
       
    51     /**
       
    52      * Handles a change to the control's resources
       
    53      * 
       
    54      * @see CCoeControl::HandleResourceChange
       
    55      */
       
    56     void HandleResourceChange( TInt aType );
       
    57 
       
    58     /**
       
    59      * Sets the control's extent, specifying a rectangle.
       
    60      * 
       
    61      * @see CCoeControl::SizeChanged
       
    62      */
       
    63     void SizeChanged();
       
    64 
       
    65     /*
       
    66      * Draws the control.
       
    67      * 
       
    68      * @see CCoeControl::Draw
       
    69      */
       
    70     void Draw( const TRect& aRect ) const;
       
    71 
       
    72 private:
       
    73 
       
    74     };
       
    75 
       
    76 #endif // __WMSPBGCLEANERCTRL_