mmshplugins/mmshaoplugin/tsrc/ut_aoplugin/Stubs/inc/ccallinfos_stub.inl
branchRCL_3
changeset 33 bc78a40cd63c
parent 32 73a1feb507fb
child 35 6c57ef9392d2
equal deleted inserted replaced
32:73a1feb507fb 33:bc78a40cd63c
     1 /*
       
     2 * Copyright (c) 2007-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:  ?Description
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include <s32mem.h> 
       
    20 
       
    21 const TInt KCallServiceId = 5;
       
    22 
       
    23 // ---------------------------------------------------------------------------
       
    24 // C++ constructor
       
    25 // ---------------------------------------------------------------------------
       
    26 //
       
    27 CCallInfos::CCallInfos()
       
    28     {
       
    29     //Nothing to be done Here.
       
    30     }
       
    31 
       
    32 // -----------------------------------------------------------------------------
       
    33 // Constructor.
       
    34 // -----------------------------------------------------------------------------
       
    35 //
       
    36 inline CCallInfos* CCallInfos::NewL()
       
    37     {
       
    38     return new( ELeave )CCallInfos();
       
    39     }
       
    40 
       
    41 // -----------------------------------------------------------------------------
       
    42 // Constructor.
       
    43 // -----------------------------------------------------------------------------
       
    44 //
       
    45 inline CCallInfos* CCallInfos::NewLC()
       
    46     {
       
    47     CCallInfos* self = new( ELeave )CCallInfos();
       
    48     CleanupStack::PushL( self );
       
    49     return self;
       
    50     }
       
    51 
       
    52 
       
    53 // -----------------------------------------------------------------------------
       
    54 // Desctructor.
       
    55 // -----------------------------------------------------------------------------
       
    56 //
       
    57 inline CCallInfos::~CCallInfos()
       
    58     {
       
    59     if ( iCallInfos.Count())
       
    60         {
       
    61         iCallInfos.Reset();
       
    62         }
       
    63     iCallInfos.Close();
       
    64     }
       
    65 
       
    66 // -----------------------------------------------------------------------------
       
    67 // Returns information about all calls.
       
    68 // -----------------------------------------------------------------------------
       
    69 //
       
    70 inline const RArray<TCallInfo>&  CCallInfos::CallInfos( ) const
       
    71     {
       
    72     return iCallInfos;
       
    73     }
       
    74 
       
    75 
       
    76 
       
    77 // -----------------------------------------------------------------------------
       
    78 // Add Dummy Call Info.
       
    79 // -----------------------------------------------------------------------------
       
    80 //
       
    81 inline void  CCallInfos::AddCallInfosL( )
       
    82     {
       
    83     }
       
    84 
       
    85 
       
    86 // End of File.
       
    87 
       
    88  
       
    89