realtimenetprots/sipfw/SigComp/CompDeflate/src/DLL.CPP
changeset 0 307788aac0a8
equal deleted inserted replaced
-1:000000000000 0:307788aac0a8
       
     1 // Copyright (c) 2002-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 // Name        : dll.cpp
       
    15 // Part of     : deflatecomp
       
    16 // main dll entry, and ecom proxy
       
    17 // Version     : 1.0
       
    18 //
       
    19 
       
    20 
       
    21 
       
    22 #include <e32base.h>
       
    23 #include <e32std.h>
       
    24 #include <ecom/implementationproxy.h>
       
    25 
       
    26 #include "DeflateComp.h"
       
    27 
       
    28 // Disabled PC-Lint warning for "suspicious typecast" caused by Symbian's
       
    29 // ECom declarations
       
    30 /*lint -e611 */
       
    31 
       
    32 // 8.x ECOM compatibility - EABI requires the use of IMPLEMENTATION_PROXY_ENTRY
       
    33 // (i.e. define IMPLEMENTATION_PROXY_ENTRY locally on pre 8.x systems)
       
    34 #ifndef IMPLEMENTATION_PROXY_ENTRY
       
    35 #define IMPLEMENTATION_PROXY_ENTRY(aUid, aFuncPtr)	{{aUid},aFuncPtr}
       
    36 #endif
       
    37 
       
    38 const TImplementationProxy KImplementationTable[] = 
       
    39     {
       
    40     IMPLEMENTATION_PROXY_ENTRY( 0x101F9583, CDeflateComp::NewL )
       
    41     };
       
    42 
       
    43 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(
       
    44                             TInt& aTableCount)
       
    45     {
       
    46     aTableCount = sizeof(KImplementationTable) / sizeof(TImplementationProxy);
       
    47     return KImplementationTable;
       
    48     }