ximpfw/presence/srcpresencefrontend/srcecomhook/presenceecomhook.cpp
changeset 51 61fad867f68e
equal deleted inserted replaced
-1:000000000000 51:61fad867f68e
       
     1 /*
       
     2 * Copyright (c) 2007 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:  XIMP Framework's Presence Manager Ecom Hook implementation.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include "ximpdlluids.hrh"
       
    20 #include "presencefeaturesimp.h"
       
    21 #include <ecom/implementationproxy.h>
       
    22 #include <e32base.h>
       
    23 
       
    24 
       
    25 // ---------------------------------------------------------------------------
       
    26 // Key value pair table to identify correct constructor
       
    27 // function for the requested interface.
       
    28 // ---------------------------------------------------------------------------
       
    29 //
       
    30 const TImplementationProxy ImplementationTable[] =
       
    31     {
       
    32     IMPLEMENTATION_PROXY_ENTRY( XIMP_ECOM_IMPLEMENTATION_UID_PRESENCE_INTERFACE,
       
    33                                 CPresenceFeaturesImp::NewL )
       
    34     };
       
    35 
       
    36 
       
    37 // ---------------------------------------------------------------------------
       
    38 // Exported function to return the implementation proxy table
       
    39 // ---------------------------------------------------------------------------
       
    40 //
       
    41 EXPORT_C const TImplementationProxy* ImplementationGroupProxy( TInt& aTableCount )
       
    42     {
       
    43     aTableCount = sizeof( ImplementationTable ) / sizeof( TImplementationProxy );
       
    44     return ImplementationTable;
       
    45     }
       
    46