landmarks/locationlandmarks/localaccessprov/src/EPos_LmLocalAccessProviderMain.cpp
changeset 0 667063e416a2
equal deleted inserted replaced
-1:000000000000 0:667063e416a2
       
     1 /*
       
     2 * Copyright (c) 2002-2005 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: Ecom method implementation
       
    15 *
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #include <ecom/implementationproxy.h>
       
    21 #include <EPos_LandmarksUids.hrh>
       
    22 #include "epos_cposlmlocaldatabase.h"
       
    23 #include "epos_cposlmlocalcategorymanager.h"
       
    24 #include "EPos_LmLocalAccessUids.hrh"
       
    25 
       
    26 // ==================== LOCAL FUNCTIONS ====================
       
    27 
       
    28 // Define the interface UIDs
       
    29 const TImplementationProxy KPosLmLocalImplTable[] =
       
    30     {
       
    31     IMPLEMENTATION_PROXY_ENTRY(
       
    32         KPosLmLocalDatabaseImplUid, CPosLmLocalDatabase::OpenL),
       
    33     IMPLEMENTATION_PROXY_ENTRY(
       
    34         KPosLmLocalCatManagerImplUid, CPosLmLocalCategoryManager::NewL),
       
    35     IMPLEMENTATION_PROXY_ENTRY(
       
    36         KPosLmLocalDatabaseExtImplUid, CPosLmLocalDatabase::OpenL),
       
    37     };
       
    38 
       
    39 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount)
       
    40     {
       
    41     aTableCount = sizeof(KPosLmLocalImplTable) / sizeof(TImplementationProxy);
       
    42 
       
    43     return KPosLmLocalImplTable;
       
    44     }
       
    45