mmfenh/advancedaudiocontroller/wavplaycontrollerplugin/src/MmfAudioControllerFactory.cpp
changeset 0 71ca22bcf22a
equal deleted inserted replaced
-1:000000000000 0:71ca22bcf22a
       
     1 /*
       
     2 * Copyright (c) 2005-2006 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: mmf audio controller factory implementation
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 ///////////////////////////////////////////////////////////////
       
    20 //
       
    21 // MmfAudioControllerFactory.cpp
       
    22 // Copyright 2002 Symbian Ltd. All rights reserved.
       
    23 //
       
    24 ////////////////////////////////////////////////////////////////
       
    25 
       
    26 #include <mmfcontrollerimplementationuids.hrh>
       
    27 #include "MmfAudioController.h"
       
    28 
       
    29 // __________________________________________________________________________
       
    30 // Exported proxy for instantiation method resolution
       
    31 // Define the interface UIDs
       
    32 // move to another module to allow custom audio controller for testing
       
    33 
       
    34 /**
       
    35 *
       
    36 * ImplementationTable
       
    37 *
       
    38 */
       
    39 const TImplementationProxy ImplementationTable[] =
       
    40 	{
       
    41 		IMPLEMENTATION_PROXY_ENTRY(KMmfUidControllerAudio,	CMMFAudioController::NewL)
       
    42 	};
       
    43 
       
    44 /**
       
    45 * ImplementationGroupProxy
       
    46 * @param aTableCount
       
    47 * @returns "TImplementationProxy*"
       
    48 */
       
    49 
       
    50 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount)
       
    51 	{
       
    52 	aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
       
    53 
       
    54 	return ImplementationTable;
       
    55 	}
       
    56