contentstorage/handlersrc/castockhandlersproxy.cpp
changeset 61 8e5041d13c84
parent 60 f62f87b200ec
child 66 32469d7d46ff
equal deleted inserted replaced
60:f62f87b200ec 61:8e5041d13c84
     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:  ?Description
       
    15  *
       
    16  */
       
    17 
       
    18 #include <e32std.h>
       
    19 #include <ecom/implementationproxy.h>
       
    20 #include "caapphandlerplugin.h"
       
    21 #include "caurlhandlerplugin.h"
       
    22 
       
    23 // ======== LOCAL FUNCTIONS ========
       
    24 
       
    25 // ---------------------------------------------------------------------------
       
    26 //
       
    27 // ---------------------------------------------------------------------------
       
    28 //
       
    29 LOCAL_C CCaHandlerPlugin* AppHandlerNewL()
       
    30     {
       
    31     return CCaAppHandlerPlugin::NewL();
       
    32     }
       
    33 
       
    34 // ---------------------------------------------------------------------------
       
    35 //
       
    36 // ---------------------------------------------------------------------------
       
    37 //
       
    38 LOCAL_C CCaHandlerPlugin* UrlHandlerNewL()
       
    39     {
       
    40     return CCaUrlHandlerPlugin::NewL();
       
    41     }
       
    42 
       
    43 // ======== GLOBAL FUNCTIONS ========
       
    44 
       
    45 const TImplementationProxy ImplementationTable[] =
       
    46     {
       
    47     IMPLEMENTATION_PROXY_ENTRY( 0x20022F83, AppHandlerNewL ),
       
    48     IMPLEMENTATION_PROXY_ENTRY( 0x20022F85, UrlHandlerNewL ),
       
    49     };
       
    50 
       
    51 // ---------------------------------------------------------------------------
       
    52 //
       
    53 // ---------------------------------------------------------------------------
       
    54 //
       
    55 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(
       
    56         TInt& aTableCount )
       
    57     {
       
    58     aTableCount = sizeof( ImplementationTable )
       
    59             / sizeof(TImplementationProxy);
       
    60     return ImplementationTable;
       
    61     }