meetingrequest/mrutilscalplugin/src/esmrutilsmain.cpp
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 17 Dec 2009 08:39:21 +0200
changeset 0 8466d47a6819
permissions -rw-r--r--
Revision: 200949 Kit: 200951

/*
* Copyright (c) 2007 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:  DLL entry point and ECOM implementation proxy.
*
*/


//INCLUDE FILES

// From ESMURUtils
#include "emailtrace.h"
#include "cesmrutilsimpl.h"
#include "esmrinternaluid.h"

// From System
#include <e32base.h>
#include <ecom/implementationproxy.h>

// ======== LOCAL FUNCTIONS ========

// ----------------------------------------------------------------------------
// ImplementationTable
// Defines instantation methods for ES MR Utils module.
// ----------------------------------------------------------------------------
//
const TImplementationProxy ImplementationTable[] =
	{
    IMPLEMENTATION_PROXY_ENTRY( KESMRUtilsCalPluginImplUid3Imap,
                                CESMRUtilsImpl::NewL ),
    IMPLEMENTATION_PROXY_ENTRY( KESMRUtilsCalPluginImplUid3Smtp,
                                CESMRUtilsImpl::NewL ),
    IMPLEMENTATION_PROXY_ENTRY( KESMRUtilsCalPluginImplUid3Fs,
                                CESMRUtilsImpl::NewL )
	};

// ----------------------------------------------------------------------------
// ImplementationGroupProxy
// Returns instantation methods for ES MR Utils module.
// @param aTableCount On return contains the number of instantation methods.
// ----------------------------------------------------------------------------
//
EXPORT_C const TImplementationProxy* ImplementationGroupProxy(
        TInt& aTableCount )
	{
	aTableCount =
	    sizeof( ImplementationTable ) / sizeof( TImplementationProxy );
	return ImplementationTable;
	}

// End of file