devsound/sounddevbt/PlatSec/src/SoundDevice/BtDevSoundPluginMain.cpp
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 17 Sep 2010 08:37:57 +0300
changeset 54 b68f3e90dca1
parent 0 40261b775718
permissions -rw-r--r--
Revision: 201037 Kit: 201037

// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
// DevBtSoundPluginMain.cpp
// 
//

#include "BtSoundDeviceBody.h"
#include <mmf/plugin/mmfdevsound.hrh>
#include <mmf/plugin/mmfbthwdeviceimplementationuids.hrh>

#include <ecom/implementationproxy.h>

MMMFDevSoundPlugin* NewDevSoundL()
	{
	MMMFDevSoundPlugin* result = CMMFDevSoundClientImp::NewL();
	return result;
	}

// __________________________________________________________________________
// Exported proxy for instantiation method resolution
// Define the interface UIDs
const TImplementationProxy ImplementationTable[] = 
	{
	IMPLEMENTATION_PROXY_ENTRY(KMmfUidDevSoundBtPlugin,	NewDevSoundL)
	};

EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount)
	{
	aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);

	return ImplementationTable;
	}