webservices/wsstar/wsstarmessagehandlers/src/wsstarmessagehandlersproxy.cpp
changeset 0 62f9d29f7211
equal deleted inserted replaced
-1:000000000000 0:62f9d29f7211
       
     1 /*
       
     2 * Copyright (c) 2006-2006 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 
       
    26 // INCLUDE FILES
       
    27 #include <e32std.h>
       
    28 #include <ecom/implementationproxy.h>
       
    29 
       
    30 #include "wsstarenveloperhandler.h"
       
    31 #include "wsstaraddressinghandler.h"
       
    32 #include "wsstarcredentialcollectorhandler.h"
       
    33 #include "wsstarsecurityhandler.h"
       
    34 #include "wsstarpassporthandler.h"
       
    35 
       
    36 #ifndef RD_SEN_COMPILE_SIS_PACKAGE_FILES
       
    37     const TInt32 KWSStarEnveloperHandler = 0x101F971D;
       
    38     const TInt32 KWSStarPassportHandler = 0x101F971E;
       
    39     const TInt32 KWSStarAddressingHandler = 0x101F971F;
       
    40     const TInt32 KWSStarCredentialCollectorHandler = 0x101F9720;
       
    41     const TInt32 KWSStarSecurityHandler = 0x101F9721;
       
    42 #else
       
    43     const TInt32 KWSStarEnveloperHandler = 0x10282C56;
       
    44     const TInt32 KWSStarPassportHandler = 0x10282C57;
       
    45     const TInt32 KWSStarAddressingHandler = 0x10282C58;
       
    46     const TInt32 KWSStarCredentialCollectorHandler = 0x10282C59;
       
    47     const TInt32 KWSStarSecurityHandler = 0x10282C5A;
       
    48 #endif
       
    49 // Provides a key value pair table, this is used to identify
       
    50 // the correct construction function for the requested interface.
       
    51 const TImplementationProxy ImplementationTable[] =
       
    52     {
       
    53     IMPLEMENTATION_PROXY_ENTRY(KWSStarEnveloperHandler,  CWSStarEnveloperHandler::NewL),
       
    54     IMPLEMENTATION_PROXY_ENTRY(KWSStarPassportHandler,  CWSStarPassportHandler::NewL),
       
    55     IMPLEMENTATION_PROXY_ENTRY(KWSStarAddressingHandler,  CWSStarAddressingHandler::NewL),
       
    56     IMPLEMENTATION_PROXY_ENTRY(KWSStarCredentialCollectorHandler,  CWSStarCredentialCollectorHandler::NewL),
       
    57     IMPLEMENTATION_PROXY_ENTRY(KWSStarSecurityHandler,  CWSStarSecurityHandler::NewL)
       
    58     };
       
    59 
       
    60 // Function used to return an instance of the proxy table.
       
    61 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(
       
    62                                                             TInt& aTableCount)
       
    63     {
       
    64     aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
       
    65     return ImplementationTable;
       
    66     }