messagingappbase/msgeditor/viewinc/MsgDummyHeaderCleaner.h
changeset 0 72b543305e3a
equal deleted inserted replaced
-1:000000000000 0:72b543305e3a
       
     1 /*
       
     2 * Copyright (c) 2005 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:  MsgDummyHeaderCleaner  declaration
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef INC_MSGDUMMYHEADERCLEANER_H
       
    21 #define INC_MSGDUMMYHEADERCLEANER_H
       
    22 
       
    23 // ========== INCLUDE FILES ================================
       
    24 
       
    25 #include <coecntrl.h>
       
    26 #include <AknUtils.h>
       
    27 
       
    28 // ========== CONSTANTS ====================================
       
    29 
       
    30 // ========== MACROS =======================================
       
    31 
       
    32 // ========== DATA TYPES ===================================
       
    33 
       
    34 // ========== FUNCTION PROTOTYPES ==========================
       
    35 
       
    36 // ========== FORWARD DECLARATIONS =========================
       
    37 
       
    38 class CMsgHeader;
       
    39 
       
    40 // ========== CLASS DECLARATION ============================
       
    41 
       
    42 // This class is used to clear the area between the status/navipane
       
    43 // and the uppermost control on the screen
       
    44 
       
    45 NONSHARABLE_CLASS( CMsgDummyHeaderCleaner ) : public CCoeControl
       
    46     {
       
    47     public:
       
    48         CMsgDummyHeaderCleaner( const CMsgHeader* aParent );
       
    49         void ConstructL( );
       
    50 
       
    51     public: // Methods from base classes
       
    52         
       
    53         /**
       
    54         *
       
    55         */
       
    56         void HandleResourceChange( TInt aType );        
       
    57         
       
    58     protected: // from CCoeControl
       
    59         void Draw( const TRect& aRect ) const;
       
    60 
       
    61     private:
       
    62         const CMsgHeader* iParent; // Pointer to parent control
       
    63         TAknLayoutRect iDashBar; // Clear only around this rect, not inside
       
    64 
       
    65     };
       
    66 
       
    67 #endif
       
    68 
       
    69 // End of File