webservices/idwsfsecuritymechanism/src/senidwsfsecmechproxy.cpp
changeset 0 62f9d29f7211
equal deleted inserted replaced
-1:000000000000 0:62f9d29f7211
       
     1 /*
       
     2 * Copyright (c) 2002-2005 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:        
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 
       
    25 // INCLUDE FILES
       
    26 #include <e32std.h>
       
    27 #include <ecom/implementationproxy.h>
       
    28 
       
    29 #include "senidwsfanonymoussaslmechanism.h"
       
    30 #include "senidwsfplainsaslmechanism.h"
       
    31 #include "senidwsfcrammd5saslmechanism.h"
       
    32 
       
    33 #ifndef RD_SEN_COMPILE_SIS_PACKAGE_FILES    
       
    34 const TInt32 KAnonymousSaslPluginUid = 0x101F96FD;
       
    35 const TInt32 KIdwsfPlainSaslPluginUid = 0x101F96FE;
       
    36 const TInt32 KIdwsfCrammd5SaslPluginUid = 0x101F96FF;
       
    37 
       
    38 #else
       
    39 const TInt32 KAnonymousSaslPluginUid = 0x101F9734;
       
    40 const TInt32 KIdwsfPlainSaslPluginUid = 0x101F9735;
       
    41 const TInt32 KIdwsfCrammd5SaslPluginUid = 0x101F9736;
       
    42 
       
    43 #endif
       
    44 // Provides a key value pair table, this is used to identify
       
    45 // the correct construction function for the requested interface.
       
    46 const TImplementationProxy ImplementationTable[] =
       
    47     {
       
    48 #ifdef IMPLEMENTATION_PROXY_ENTRY       
       
    49         IMPLEMENTATION_PROXY_ENTRY(KAnonymousSaslPluginUid,  CSenIdWsfAnonymousSaslMechanism::NewL),
       
    50         IMPLEMENTATION_PROXY_ENTRY(KIdwsfPlainSaslPluginUid,  CSenIdWsfPlainSaslMechanism::NewL),
       
    51         IMPLEMENTATION_PROXY_ENTRY(KIdwsfCrammd5SaslPluginUid,  CSenIdWsfCrammd5SaslMechanism::NewL)
       
    52 #else
       
    53         {{KAnonymousSaslPluginUid},  CSenIdWsfAnonymousSaslMechanism::NewL},
       
    54         {{KIdwsfPlainSaslPluginUid},  CSenIdWsfPlainSaslMechanism::NewL},
       
    55         {{KIdwsfCrammd5SaslPluginUid},  CSenIdWsfCrammd5SaslMechanism::NewL}
       
    56 #endif
       
    57     };
       
    58 
       
    59 
       
    60 
       
    61 // Function used to return an instance of the proxy table.
       
    62 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(
       
    63                                                         TInt& aTableCount)
       
    64     {
       
    65     aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
       
    66     return ImplementationTable;
       
    67     }
       
    68 
       
    69 // End of File