os/mm/mmlibs/mmfw/src/Plugin/StdSourceAndSink/Main.cpp
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 // Entry point for the ECom dll only
    15 // 
    16 //
    17 
    18 /**
    19  @file main.cpp
    20 */
    21 
    22 #include <e32base.h>
    23 #include <mmf/server/mmfdatasourcesink.hrh>
    24 
    25 
    26 // __________________________________________________________________________
    27 // Exported proxy for instantiation method resolution
    28 // Define the interface UIDs
    29 
    30 #include <mmf/server/mmfdes.h>
    31 #include <mmf/server/mmffile.h>
    32 #include <mmf/server/mmfurl.h>
    33 #include <ecom/implementationproxy.h>
    34 
    35 const TImplementationProxy ImplementationTable[] = 
    36 	{
    37 		IMPLEMENTATION_PROXY_ENTRY(KMmfUidFileSource,	CMMFFile::NewSourceL),
    38 		IMPLEMENTATION_PROXY_ENTRY(KMmfUidFileSink,		CMMFFile::NewSinkL),
    39 		IMPLEMENTATION_PROXY_ENTRY(KMmfUidDescriptorSource,	CMMFDescriptor::NewSourceL),
    40 		IMPLEMENTATION_PROXY_ENTRY(KMmfUidDescriptorSink,	CMMFDescriptor::NewSinkL),
    41 		IMPLEMENTATION_PROXY_ENTRY(KMmfUidUrlSource,	CMMFUrlSource::NewSourceL),
    42 		IMPLEMENTATION_PROXY_ENTRY(KMmfUidUrlSink,	CMMFUrlSink::NewSinkL)
    43 	};
    44 
    45 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount)
    46 	{
    47 	aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
    48 
    49 	return ImplementationTable;
    50 	}
    51