meetingrequest/mrgui/mrfieldbuildercommon/inc/cmrgrid.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:  MR grid impl.
       
    15 *
       
    16 */
       
    17 #ifndef CMRGRID_H
       
    18 #define CMRGRID_H
       
    19 
       
    20 // INCLUDES
       
    21 #include <e32base.h>
       
    22 //#include <akngrid.h>
       
    23 //#include <akngridm.h>
       
    24 
       
    25 // FORWARD DECLARATIONS
       
    26 class CAknGrid;
       
    27 
       
    28 // CLASS DECLARATIONS
       
    29 NONSHARABLE_CLASS( CMRGrid ) : public CBase
       
    30     {
       
    31     public:
       
    32         /**
       
    33          * Executes selection grid.
       
    34          *
       
    35          * @param aSelectedOption on return contains the selection
       
    36          * @return ETrue if user selected an option. Otherwise EFalse.
       
    37          */
       
    38         static TBool ExecuteL( TInt& aSelectedOption );
       
    39 
       
    40     private:
       
    41         CMRGrid();
       
    42         virtual ~CMRGrid();
       
    43         void AddGridIconsL();
       
    44         TBool ShowGridL( TInt& aSelectedOption );
       
    45 
       
    46     private:
       
    47         /// Own: Grid control
       
    48         CAknGrid*  iGrid;
       
    49     };
       
    50 
       
    51 #endif  // CMRGRID_H
       
    52 // End of file
       
    53 
       
    54