convergedcallengine/cce/inc/mccecallarray.h
changeset 0 ff3b6d0fd310
equal deleted inserted replaced
-1:000000000000 0:ff3b6d0fd310
       
     1 /*
       
     2 * Copyright (c) 2008-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:  Interface to access call information
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MCCECALLARRAY_H
       
    20 #define MCCECALLARRAY_H
       
    21 
       
    22 #include <e32std.h>
       
    23 
       
    24 class MCCECallInfo;
       
    25 
       
    26 /**
       
    27  *  Interface to access calls information
       
    28  *
       
    29  *  @lib CCE.lib
       
    30  *  @since S60 5.0
       
    31  */
       
    32 NONSHARABLE_CLASS( MCCECallArray )
       
    33     {
       
    34 public:
       
    35     
       
    36     /**
       
    37      * Get emergency call info.
       
    38      * 
       
    39      * @since S60 5.0
       
    40      * @return Emergency call info 
       
    41      */
       
    42     virtual MCCECallInfo* EmergencyCallInfo() const = 0;
       
    43 
       
    44     /**
       
    45      * Get call info with specific id.
       
    46      *
       
    47      * @since S60 v3.2
       
    48      * @param aCallId Specifies which call is returned
       
    49      * @return Found call, NULL if none is found.
       
    50      */
       
    51     virtual MCCECallInfo* CallInfo( TInt aIndex ) const = 0;
       
    52        
       
    53     /**
       
    54      * Gives the maximum call id.
       
    55      * 
       
    56      * @since S60 5.0
       
    57      * @return Maximum call id.
       
    58      */
       
    59     virtual TInt MaxNumberOfCalls() const = 0;
       
    60 
       
    61     };
       
    62 
       
    63 
       
    64 #endif // MCCECALLARRAY_H