contentstorage/casrv/caprogresscanner/src/proxy.cpp
changeset 102 8b8b34fa9751
equal deleted inserted replaced
100:0920c6a9b6c8 102:8b8b34fa9751
       
     1 /*
       
     2  * Copyright (c) 2009 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: proxy.cpp
       
    15  *
       
    16  */
       
    17 
       
    18 #include <e32std.h>
       
    19 #include <ecom/implementationproxy.h>
       
    20 #include "caprogresscanner.h"
       
    21 
       
    22 const TUint KCaProgresScannerImplProxyUid = 0x20022F87;
       
    23 
       
    24 // Provides a key value pair table, this is used to identify
       
    25 // the correct construction function for the requested interface.
       
    26 const TImplementationProxy ImplementationTable[] =
       
    27     {
       
    28     IMPLEMENTATION_PROXY_ENTRY(KCaProgresScannerImplProxyUid,
       
    29         CCaProgresScanner::NewL)
       
    30     };
       
    31 
       
    32 #ifdef COVERAGE_MEASUREMENT
       
    33 #pragma CTC SKIP
       
    34 #endif //COVERAGE_MEASUREMENT (proxy for instantiation)
       
    35 
       
    36 // Function used to return an instance of the proxy table.
       
    37 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(
       
    38         TInt& aTableCount )
       
    39     {
       
    40     aTableCount = sizeof( ImplementationTable ) / sizeof(TImplementationProxy);
       
    41     return ImplementationTable;
       
    42     }
       
    43 
       
    44 #ifdef COVERAGE_MEASUREMENT
       
    45 #pragma CTC ENDSKIP
       
    46 #endif //COVERAGE_MEASUREMENT
       
    47