mmserv/voipaudioservices/VoIPIntfc/src/VoIPRingToneFactoryImpl.cpp
changeset 0 71ca22bcf22a
equal deleted inserted replaced
-1:000000000000 0:71ca22bcf22a
       
     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: VOIP Audio Service
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include <e32base.h>
       
    20 #include "VoIPRingTonePlayerImpl.h"
       
    21 #include "VoIPRingToneFactoryImpl.h"
       
    22 
       
    23 
       
    24 // ---------------------------------------------------------------------------
       
    25 // CRingToneFactoryImpl::NewL
       
    26 // ---------------------------------------------------------------------------
       
    27 //
       
    28 CRingToneFactoryImpl* CRingToneFactoryImpl::NewL()
       
    29     {
       
    30     CRingToneFactoryImpl* self = new (ELeave) CRingToneFactoryImpl();
       
    31     CleanupStack::PushL(self);
       
    32     self->ConstructL();
       
    33     CleanupStack::Pop(self);
       
    34     return self;
       
    35     }
       
    36 
       
    37 // ---------------------------------------------------------------------------
       
    38 // CRingToneFactoryImpl::~CRingToneFactoryImpl
       
    39 // ---------------------------------------------------------------------------
       
    40 //
       
    41 CRingToneFactoryImpl::~CRingToneFactoryImpl()
       
    42     {
       
    43     }
       
    44 
       
    45 // ---------------------------------------------------------------------------
       
    46 // CRingToneFactoryImpl::CRingToneFactoryImpl
       
    47 // ---------------------------------------------------------------------------
       
    48 //
       
    49 CRingToneFactoryImpl::CRingToneFactoryImpl()
       
    50     {
       
    51     }
       
    52 
       
    53 // ---------------------------------------------------------------------------
       
    54 // CRingToneFactoryImpl::ConstructL
       
    55 // ---------------------------------------------------------------------------
       
    56 //
       
    57 void CRingToneFactoryImpl::ConstructL()
       
    58     {
       
    59     }
       
    60 
       
    61 // ---------------------------------------------------------------------------
       
    62 // CRingToneFactoryImpl::CreateRingTonePlayer
       
    63 // ---------------------------------------------------------------------------
       
    64 //
       
    65 TInt CRingToneFactoryImpl::CreateRingTonePlayer(
       
    66                            CRingTonePlayer*& aRingTonePlayer)
       
    67     {
       
    68     TRAPD(err, aRingTonePlayer = CRingTonePlayerImpl::NewL());
       
    69     return err;
       
    70     }
       
    71 
       
    72 
       
    73 // End of file