systemswstubs/asyreference/src/ASYReferencePluginProxy.cpp
changeset 0 0ce1b5ce9557
equal deleted inserted replaced
-1:000000000000 0:0ce1b5ce9557
       
     1 /*
       
     2 * Copyright (c) 2002-2004 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:  Used as an reference implementation
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // INCLUDE FILES
       
    20 #include "ASYReferenceMainServiceBase.h"
       
    21 #include "ASYReferenceCmdHandlerBase.h"
       
    22 
       
    23 #include <e32std.h>
       
    24 #include <ecom/implementationproxy.h>
       
    25 
       
    26 // EXTERNAL DATA STRUCTURES
       
    27 
       
    28 // EXTERNAL FUNCTION PROTOTYPES  
       
    29 
       
    30 // CONSTANTS
       
    31 
       
    32 // MACROS
       
    33 
       
    34 // LOCAL CONSTANTS AND MACROS
       
    35 
       
    36 // MODULE DATA STRUCTURES
       
    37 
       
    38 // Map the interface implementation UIDs to implementation factory functions
       
    39 const TImplementationProxy ImplementationTable[] =
       
    40     {
       
    41         { { 0x1000B000 }, ( TProxyNewLPtr ) CASYReferenceMainServiceBase::NewL },
       
    42         { { 0x1000B001 }, ( TProxyNewLPtr ) CASYReferenceCmdHandlerBase::NewL }
       
    43     };
       
    44 
       
    45 // LOCAL FUNCTION PROTOTYPES
       
    46 
       
    47 // FORWARD DECLARATIONS
       
    48 
       
    49 // ============================= LOCAL FUNCTIONS ===============================
       
    50 
       
    51 // ============================ MEMBER FUNCTIONS ===============================
       
    52 
       
    53 // ========================== OTHER EXPORTED FUNCTIONS =========================
       
    54 
       
    55 // Exported proxy for instantiation method resolution.
       
    56 EXPORT_C const TImplementationProxy* ImplementationGroupProxy( TInt& aTableCount )
       
    57     {
       
    58     aTableCount = sizeof( ImplementationTable ) / sizeof( TImplementationProxy );
       
    59     return ImplementationTable;
       
    60     }
       
    61 
       
    62 // End of File