uifw/AvKon/akncompamode/inc/akncompaclearer.h
changeset 0 2f259fa3e83a
equal deleted inserted replaced
-1:000000000000 0:2f259fa3e83a
       
     1 /*
       
     2 * Copyright (c) 2008 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:  Control to clear screen
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __AKNCOMPACLEARER_H__
       
    20 #define __AKNCOMPACLEARER_H__
       
    21 
       
    22 #include <coecntrl.h>
       
    23 
       
    24 class CAknsBasicBackgroundControlContext;
       
    25 
       
    26 /**
       
    27  * Screen clearer UI control. Clear the whole screen (incl. status and
       
    28  * control panes) with skin background.
       
    29  *
       
    30  * @lib compamode.lib
       
    31  * @since S60 v5.0
       
    32  */
       
    33 NONSHARABLE_CLASS(CAknCompaClearer) : public CCoeControl
       
    34     {
       
    35 public: // constructors and destructor
       
    36 
       
    37     static CAknCompaClearer* NewLC();
       
    38 
       
    39     ~CAknCompaClearer();
       
    40 
       
    41 private: // from CCoeControl
       
    42 
       
    43     void Draw(const TRect& aRect) const;
       
    44 
       
    45 private: // new functions
       
    46 
       
    47     void ConstructL();
       
    48 
       
    49 private: // data
       
    50 
       
    51     // Background context
       
    52     CAknsBasicBackgroundControlContext* iBgContext;
       
    53     };
       
    54 
       
    55 #endif // __AKNCOMPACLEARER_H__