phonebookengines/VirtualPhonebook/VPbkAdaptiveStore/src/VPbkAdaptiveStoreEntryPoint.cpp
author Leo Zheng <leo.zhengyh@gmail.com>
Mon, 05 Apr 2010 08:09:54 +0900
branchCompilerCompatibility
changeset 18 591870b73212
parent 0 e686773b3f54
permissions -rw-r--r--
Bug 1820 - GCC-E compilation error in contacts (1595)

/*
* Copyright (c) 2005-2007 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  
*
*/


// INCLUDES
#include <e32base.h>
#include <ecom/implementationproxy.h>
#include <VPbkPrivateUid.h>

/**
 * Stub
 */
namespace VPbkAdaptiveStore {
NONSHARABLE_CLASS( CContactStoreDomain ): public CBase
    {
    public:
        static CContactStoreDomain* NewL( TAny* aPtr );
    };

CContactStoreDomain* CContactStoreDomain::NewL( TAny* /*aPtr*/ )
    {
    return NULL;
    }
}


typedef VPbkAdaptiveStore::CContactStoreDomain* ( *NewLPtr)(TAny* );

// Define the interface UIDs
const TImplementationProxy ImplementationTable[] =
    {
    IMPLEMENTATION_PROXY_ENTRY( KVPbkAdaptiveStoreDomainImplementationUID,
        static_cast<NewLPtr>( VPbkAdaptiveStore::CContactStoreDomain::NewL ) )
    };

EXPORT_C const TImplementationProxy* ImplementationGroupProxy( TInt& aTableCount )
    {
    aTableCount = sizeof(ImplementationTable) / sizeof( TImplementationProxy );
    return ImplementationTable;
    }

// end of file