webservices/wsoviplugin/src/wsoviproxy.cpp
changeset 0 62f9d29f7211
equal deleted inserted replaced
-1:000000000000 0:62f9d29f7211
       
     1 /*
       
     2 * Copyright (c) 2008 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 <e32std.h>
       
    26 #include <ecom/implementationproxy.h>
       
    27 
       
    28 #include "wsoviplugin.h"
       
    29 #include "wsovivalidatehandler.h"
       
    30 #include "wsoviregisterhandler.h"
       
    31 #include "wsovidevicehandler.h"
       
    32 #include "wsovisecurityhandler.h"
       
    33 #include "wsovicredentialcollectorhandler.h"
       
    34 #include "wsoviencoderhandler.h"
       
    35 #include "wsoviserviceupdatehandler.h"
       
    36           
       
    37 const TInt32 KWSOviPlugin = 0x2001950F;
       
    38 const TInt32 KWSOviValidateHandler = 0x20019510;
       
    39 const TInt32 KWSOviRegisterHandler  = 0x20019511;
       
    40 const TInt32 KWSOviDeviceHandler  = 0x20019512;
       
    41 const TInt32 KWSOviSecurityHandler  = 0x20019513;
       
    42 const TInt32 KWSOviCredentialCollectorHandler  = 0x20019514;
       
    43 const TInt32 KWSOviEncoderHandler  = 0x20019515;
       
    44 const TInt32 KWSOviServiceUpdateHandler  = 0x20019516;
       
    45 
       
    46 // ---------------------------------------------------------------------------
       
    47 // Provides a key value pair table, this is used to identify
       
    48 // the correct construction function for the requested interface.
       
    49 // ---------------------------------------------------------------------------
       
    50 //
       
    51 const TImplementationProxy ImplementationTable[] =
       
    52     {
       
    53     IMPLEMENTATION_PROXY_ENTRY(KWSOviPlugin,  CWSOviPlugin::NewL),
       
    54     IMPLEMENTATION_PROXY_ENTRY(KWSOviValidateHandler,  CWSOviValidateHandler::NewL),
       
    55     IMPLEMENTATION_PROXY_ENTRY(KWSOviRegisterHandler,  CWSOviRegisterHandler::NewL),
       
    56     IMPLEMENTATION_PROXY_ENTRY(KWSOviDeviceHandler,  CWSOviDeviceHandler::NewL),
       
    57     IMPLEMENTATION_PROXY_ENTRY(KWSOviSecurityHandler,  CWSOviSecurityHandler::NewL),
       
    58     IMPLEMENTATION_PROXY_ENTRY(KWSOviCredentialCollectorHandler,  CWSOviCredentialCollectorHandler::NewL),
       
    59     IMPLEMENTATION_PROXY_ENTRY(KWSOviEncoderHandler,  CWSOviEncoderHandler::NewL),
       
    60     IMPLEMENTATION_PROXY_ENTRY(KWSOviServiceUpdateHandler,  CWSOviServiceUpdateHandler::NewL)
       
    61     };
       
    62 
       
    63 // ---------------------------------------------------------------------------
       
    64 // Function used to return an instance of the proxy table.
       
    65 // ---------------------------------------------------------------------------
       
    66 //
       
    67 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(
       
    68                                                             TInt& aTableCount)
       
    69     {
       
    70     aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
       
    71     return ImplementationTable;
       
    72     }
       
    73