applayerpluginsandutils/httpprotocolplugins/WspProtocolHandler/WspProtocolHandlerMain.cpp
changeset 0 b16258d2340f
equal deleted inserted replaced
-1:000000000000 0:b16258d2340f
       
     1 // Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 // System includes
       
    17 #include <e32std.h>
       
    18 #include <ImplementationProxy.h>
       
    19 
       
    20 // User includes
       
    21 #include "CWspCOProtocolHandler.h"
       
    22 #include "wsppanic.h"
       
    23 
       
    24 // Exported proxy for instantiation method resolution
       
    25 // Define the interface UIDs
       
    26 const TImplementationProxy ImplementationTable[] = 
       
    27 	{
       
    28 		IMPLEMENTATION_PROXY_ENTRY(0x101F448A, CWspCOProtocolHandler::NewL)
       
    29 	};
       
    30 
       
    31 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount)
       
    32 	{
       
    33 	aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
       
    34 
       
    35 	return ImplementationTable;
       
    36 	}
       
    37 
       
    38 GLDEF_C void Panic(TWspPanic aPanic)
       
    39 	{
       
    40 	User::Panic(KWspPanicCategory, aPanic);
       
    41 	}
       
    42 
       
    43 #ifndef EKA2
       
    44 GLDEF_C TInt E32Dll(TDllReason /*aReason*/)
       
    45 	{
       
    46 	return(KErrNone);
       
    47 	}
       
    48 #endif // EKA2