diff -r 000000000000 -r 8466d47a6819 meetingrequest/mrutilscalplugin/src/esmrutilsmain.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/meetingrequest/mrutilscalplugin/src/esmrutilsmain.cpp Thu Dec 17 08:39:21 2009 +0200 @@ -0,0 +1,62 @@ +/* +* 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 +#include + +// ======== 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 +