realtimenetprots/sipfw/SIP/SIPSec/IpSecPlugin/src/dllentry.cpp
changeset 0 307788aac0a8
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/realtimenetprots/sipfw/SIP/SIPSec/IpSecPlugin/src/dllentry.cpp	Tue Feb 02 01:03:15 2010 +0200
@@ -0,0 +1,53 @@
+// Copyright (c) 2004-2009 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:
+// Name        : dllentry.cpp
+// Part of     : SipSec IpSec
+// implementation
+// Version     : SIP/4.0
+//
+
+
+
+#include <e32base.h>
+#include <ecom/implementationproxy.h>
+
+#include "CSipSecIpsecMechanism.h"
+
+// Disabled PC-Lint warning for "suspicious typecast" caused by Symbian's
+// ECom declarations
+/*lint -e611 */
+
+// 8.x ECOM compatibility - EABI requires the use of IMPLEMENTATION_PROXY_ENTRY
+// (i.e. define IMPLEMENTATION_PROXY_ENTRY locally on pre 8.x systems)
+#ifndef IMPLEMENTATION_PROXY_ENTRY
+#define IMPLEMENTATION_PROXY_ENTRY( aUid, aFuncPtr ) { { aUid }, aFuncPtr }
+#endif
+
+const TImplementationProxy ImplementationTable [] =
+    {
+	//Implementation UID and pointer to instantiation method
+    IMPLEMENTATION_PROXY_ENTRY( 0x1020334E, CSipSecIpsecMechanism::NewL )
+    };
+
+// -----------------------------------------------------------------------------
+// ImplementationGroupProxy
+// -----------------------------------------------------------------------------
+//
+EXPORT_C const TImplementationProxy* ImplementationGroupProxy (TInt& aTableCount)
+    {
+    aTableCount = sizeof(ImplementationTable)/sizeof(TImplementationProxy);
+    return ImplementationTable;
+    }
+    
+// End of File