meetingrequest/mrgui/inc/cmrfocusstrategyviewer.h
branchRCL_3
changeset 12 4ce476e64c59
equal deleted inserted replaced
11:0396474f30f5 12:4ce476e64c59
       
     1 /*
       
     2 * Copyright (c) 2009 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: Class for the editora focus strategy
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef CMRFOCUSSTRATEGYVIEWER_H
       
    19 #define CMRFOCUSSTRATEGYVIEWER_H
       
    20 
       
    21 // INCLUDES
       
    22 #include <e32base.h>
       
    23 #include "cmrfocusstrategybase.h"   // CMRFocusStrategyBase
       
    24 
       
    25 // FORWARD DECLARATIONS
       
    26 
       
    27 // CLASS DECLARATIONS
       
    28 NONSHARABLE_CLASS( CMRFocusStrategyViewer ):
       
    29     public CMRFocusStrategyBase    
       
    30     {
       
    31     public: // C'tor & d'tor
       
    32         /**
       
    33          * Static constructor
       
    34          * @param aFactory Field storage factory
       
    35          */
       
    36         static CMRFocusStrategyViewer* NewL( MESMRFieldStorage& aFactory );
       
    37 
       
    38         /**
       
    39          * Destructor
       
    40          */
       
    41         ~CMRFocusStrategyViewer();
       
    42         
       
    43     protected: // From CMRFocusStrategyBase
       
    44         void EventOccured( TFocusEventType aEventType );
       
    45         void InitializeFocus();
       
    46 
       
    47     private: // Implementation
       
    48         CMRFocusStrategyViewer( MESMRFieldStorage& aFactory );
       
    49         void ConstructL();
       
    50         void DoHideFocus();    
       
    51     };
       
    52 #endif // CMRFOCUSSTRATEGYVIEWER_H
       
    53 
       
    54 // End of file