os/mm/devsoundextensions/ciextnfactoryplugins/ciextnserverplugin/src/main.cpp
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     1 /*
     2 * Copyright (c) 2002-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:   Class definition of plugin implementing devsound server
    15 *                side custom interface extension.
    16 *
    17 */
    18 
    19 
    20 
    21 #include <e32base.h>
    22 #include <implementationproxy.h>
    23 #include "ciextnserverplugin.h"
    24 #include <mmfdevsoundcustominterface.hrh>
    25 #include <a3f/mmfdevsoundcustominterfaceextensions.hrh>
    26 
    27 // ---------------------------------------------------------------------------
    28 // Plugin creation function pointer for ECom framework
    29 // ---------------------------------------------------------------------------
    30 //
    31 const TImplementationProxy ImplementationTable[] =
    32     {
    33     IMPLEMENTATION_PROXY_ENTRY(KMmfUidCIServerExtensionImpl, CCIExtnServerPlugin::NewL)
    34     };
    35 
    36 // ---------------------------------------------------------------------------
    37 // Implementation table export for ECom framework
    38 // ---------------------------------------------------------------------------
    39 //
    40 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount)
    41     {
    42     aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
    43 
    44     return ImplementationTable;
    45     }