meetingrequest/mrguicommon/inc/cesmrguilistquery.h
branchRCL_3
changeset 12 4ce476e64c59
equal deleted inserted replaced
11:0396474f30f5 12:4ce476e64c59
       
     1 /*
       
     2 * Copyright (c) 2007-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:  esmrgui list queries
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CESMRGUILISTQUERY_H
       
    20 #define CESMRGUILISTQUERY_H
       
    21 
       
    22 //<cmail>
       
    23 #include "esmrdef.h"
       
    24 //</cmail>
       
    25 #include <e32base.h>
       
    26 
       
    27 class CEikonEnv;
       
    28 /**
       
    29  * CESMRGuilistQuery encapsulates list queries
       
    30  *
       
    31  * @lib esmrgui.lib
       
    32  */
       
    33 NONSHARABLE_CLASS( CESMRGUIListQuery ) : public CBase
       
    34     {
       
    35 public:
       
    36     /**
       
    37     * Enumeration definition for different kind of
       
    38     * confirmation queries
       
    39     */
       
    40     enum TESMRListQueryType
       
    41         {
       
    42         EESMRSendUpdateToAllQuery
       
    43         };
       
    44 public:
       
    45     /**
       
    46      * C++ Destructor.
       
    47      */
       
    48     ~CESMRGUIListQuery();
       
    49 
       
    50      /**
       
    51      * Static version of ExecuteLD.
       
    52      * @param aType The type of confirmation query.
       
    53      * @return TInt selected item or KErrCancel if no selection was made.
       
    54      */
       
    55      IMPORT_C static TInt ExecuteL( TESMRListQueryType aType );
       
    56 
       
    57 private: // Implementation
       
    58     CESMRGUIListQuery( TESMRListQueryType aType );
       
    59     void ConstructL();
       
    60     TInt ExecuteLD();
       
    61 
       
    62 private: // Data
       
    63     /// Own: Attendee status
       
    64     TESMRListQueryType iType;
       
    65 
       
    66     /// Own: Resource offset
       
    67     TInt iResourceOffset;
       
    68 
       
    69     /// Ref:
       
    70     CEikonEnv* iEnv;
       
    71     };
       
    72 
       
    73 #endif // CESMRGUILISTQUERY_H
       
    74 
       
    75 // EOF
       
    76