os/mm/devsound/devsoundrefplugin/src/controller/audio/MmfAudioToneControllerFactory.cpp
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 /*
     2 * Copyright (c) 2003 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:
    15 *
    16 */
    17 
    18 
    19 #include "MmfAudioToneController.hrh"
    20 #include "MmfAudioToneController.h"
    21 
    22 
    23 // __________________________________________________________________________
    24 // Exported proxy for instantiation method resolution
    25 // Define the interface UIDs
    26 // move to another module to allow custom audio controller for testing
    27 
    28 /**
    29 Table of implementations to be returned to th ECom system
    30 @internalAll 
    31 */
    32 const TImplementationProxy ImplementationTable[] =
    33 	{
    34 		IMPLEMENTATION_PROXY_ENTRY(KMmfUidControllerAudioTone,	CMMFAudioToneController::NewL)
    35 	};
    36 
    37 /**
    38 Used by the ECom system to obtain a list of implementations available in the library
    39 
    40 @internalAll
    41 @param aTableCount will be initialized to the number of entries
    42 @return TImplementationProxy* a pointer to a list of available implementations
    43 */
    44 
    45 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount)
    46 	{
    47 	aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
    48 
    49 	return ImplementationTable;
    50 	}
    51