meetingrequest/mrutilscalplugin/src/esmrutilsmain.cpp
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 10:12:48 +0100
branchCompilerCompatibility
changeset 15 1fb7c29cba15
parent 0 8466d47a6819
permissions -rw-r--r--
Add & to member functions in initialiser, to fix Bug 1770

/*
* 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