convergedcallengine/serviceselector/inc/csslistquerydialog.h
changeset 51 12bc758d6a02
parent 48 78df25012fda
child 53 25b8d29b7c59
equal deleted inserted replaced
48:78df25012fda 51:12bc758d6a02
     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:  This file contains the header file of the
       
    15 *              : CSsListQueryDialog class.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 #ifndef CSSLISTQUERYDIALOG_H
       
    22 #define CSSLISTQUERYDIALOG_H
       
    23 
       
    24 //  INCLUDES
       
    25 #include <aknlistquerydialog.h>
       
    26 
       
    27 // CONSTANTS
       
    28 //None
       
    29 
       
    30 // MACROS
       
    31 //None
       
    32 
       
    33 // DATA TYPES
       
    34 //None.
       
    35 
       
    36 // FUNCTION PROTOTYPES
       
    37 //None
       
    38 
       
    39 // FORWARD DECLARATIONS
       
    40 //None
       
    41 
       
    42 // CLASS DECLARATION
       
    43 
       
    44 /**
       
    45 *  List query class for service selector
       
    46 *
       
    47 *  @lib ServiceSelector.lib
       
    48 *  @since Series60_5.0
       
    49 */
       
    50 NONSHARABLE_CLASS( CSsListQueryDialog )
       
    51         : public CAknListQueryDialog
       
    52     {
       
    53     public:  // Constructors and destructor
       
    54       
       
    55         /**
       
    56         * C++ constructor.
       
    57         * @param aSelf pointer to itself.
       
    58         * @param aIndex Index for user selection.
       
    59         */
       
    60         CSsListQueryDialog( CEikDialog** aSelf, TInt& aIndex );
       
    61        
       
    62         /**
       
    63         * Destructor.
       
    64         */
       
    65         virtual ~CSsListQueryDialog();
       
    66 
       
    67     public: // New functions
       
    68 
       
    69         /**
       
    70         * Executes the list query.
       
    71         * @param aResourceId Resource for the list query.
       
    72         * @param aItemTextArray Item array. Ownership not
       
    73         *                       trasferred.
       
    74         * @param aIcons Icon array. Ownership transferred.
       
    75         * @return Id of the key. 0 if list canceled.
       
    76         */     
       
    77         TInt ExecuteListLD( TInt aResourceId, 
       
    78                             MDesCArray* aItemTextArray,
       
    79                             CArrayPtr<CGulIcon>* aIcons );
       
    80 
       
    81         
       
    82     private:    // Data
       
    83         
       
    84         // Pointer to itself.
       
    85         CEikDialog** iSelf;
       
    86 
       
    87     };
       
    88 
       
    89 #endif      // CSSLISTQUERYDIALOG_H
       
    90             
       
    91 // End of File