localconnectivityservice/obexsendservices/obexserviceirsend/src/IRSendingService.cpp
/*
* Copyright (c) 2002 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: Defines the DLL entry point and ECom initialization.
* and a panic function used in BTSS.
*
*/
// INCLUDE FILES
#include "IrSSProvider.h"
#include "IRSendingService.hrh"
#include "IrSendingServiceUIDS.hrh"
#include <e32std.h>
#include <implementationproxy.h>
// ============================= LOCAL FUNCTIONS ===============================
//
// -----------------------------------------------------------------------------
// ImplementationTable
// ECom init: Maps the interface UIDs to implementation factory functions.
// Returns: A table of implementation UIDs and their constructors.
// -----------------------------------------------------------------------------
//
const TImplementationProxy ImplementationTable[] =
{
IMPLEMENTATION_PROXY_ENTRY(KIRSendingServiceImplUid, CIRSSProvider::NewL)
};
// ========================== OTHER EXPORTED FUNCTIONS =========================
// -----------------------------------------------------------------------------
// E32Dll
// DLL entry point.
// Returns: Symbian OS errorcode.
// -----------------------------------------------------------------------------
//
#ifndef EKA2
GLDEF_C TInt E32Dll( TDllReason /*aReason*/ )
{
return KErrNone;
}
#endif
// -----------------------------------------------------------------------------
// ImplementationGroupProxy
// ECom init: Exported proxy for instantiation method resolution.
// Returns: Pointer to the proxy and number of implementations in it.
// -----------------------------------------------------------------------------
//
EXPORT_C const TImplementationProxy* ImplementationGroupProxy( TInt& aTableCount )
{
aTableCount = sizeof( ImplementationTable ) / sizeof( TImplementationProxy );
return ImplementationTable;
}
// End of File