localconnectivityservice/obexsendservices/obexserviceirsend/src/IRSendingService.cpp
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:20:40 +0100
branchRCL_3
changeset 40 52a167391590
parent 0 c3e98f10fcf4
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201033 Kit: 201035

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