contentstorage/casrv/causifscanner/src/proxy.cpp
author hgs
Fri, 30 Apr 2010 15:22:08 +0300
changeset 93 82b66994846c
parent 92 782e3408c2ab
child 98 d2f833ab7940
permissions -rw-r--r--
201017
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
85
7feec50967db 201003_02
hgs
parents:
diff changeset
     1
/*
7feec50967db 201003_02
hgs
parents:
diff changeset
     2
 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
7feec50967db 201003_02
hgs
parents:
diff changeset
     3
 * All rights reserved.
7feec50967db 201003_02
hgs
parents:
diff changeset
     4
 * This component and the accompanying materials are made available
7feec50967db 201003_02
hgs
parents:
diff changeset
     5
 * under the terms of "Eclipse Public License v1.0"
7feec50967db 201003_02
hgs
parents:
diff changeset
     6
 * which accompanies this distribution, and is available
7feec50967db 201003_02
hgs
parents:
diff changeset
     7
 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
7feec50967db 201003_02
hgs
parents:
diff changeset
     8
 *
7feec50967db 201003_02
hgs
parents:
diff changeset
     9
 * Initial Contributors:
7feec50967db 201003_02
hgs
parents:
diff changeset
    10
 * Nokia Corporation - initial contribution.
7feec50967db 201003_02
hgs
parents:
diff changeset
    11
 *
7feec50967db 201003_02
hgs
parents:
diff changeset
    12
 * Contributors:
7feec50967db 201003_02
hgs
parents:
diff changeset
    13
 *
7feec50967db 201003_02
hgs
parents:
diff changeset
    14
 * Description: proxy.cpp
7feec50967db 201003_02
hgs
parents:
diff changeset
    15
 *
7feec50967db 201003_02
hgs
parents:
diff changeset
    16
 */
7feec50967db 201003_02
hgs
parents:
diff changeset
    17
7feec50967db 201003_02
hgs
parents:
diff changeset
    18
#include <e32std.h>
7feec50967db 201003_02
hgs
parents:
diff changeset
    19
#include <ecom/implementationproxy.h>
7feec50967db 201003_02
hgs
parents:
diff changeset
    20
#include "causifscanner.h"
7feec50967db 201003_02
hgs
parents:
diff changeset
    21
7feec50967db 201003_02
hgs
parents:
diff changeset
    22
const TUint KCaUsifScannerImplProxyUid = 0x2002870B;
7feec50967db 201003_02
hgs
parents:
diff changeset
    23
7feec50967db 201003_02
hgs
parents:
diff changeset
    24
// Provides a key value pair table, this is used to identify
7feec50967db 201003_02
hgs
parents:
diff changeset
    25
// the correct construction function for the requested interface.
7feec50967db 201003_02
hgs
parents:
diff changeset
    26
const TImplementationProxy ImplementationTable[] =
7feec50967db 201003_02
hgs
parents:
diff changeset
    27
    {
7feec50967db 201003_02
hgs
parents:
diff changeset
    28
    IMPLEMENTATION_PROXY_ENTRY(KCaUsifScannerImplProxyUid, CCaUsifScanner::NewL)
7feec50967db 201003_02
hgs
parents:
diff changeset
    29
    };
7feec50967db 201003_02
hgs
parents:
diff changeset
    30
7feec50967db 201003_02
hgs
parents:
diff changeset
    31
// Function used to return an instance of the proxy table.
7feec50967db 201003_02
hgs
parents:
diff changeset
    32
EXPORT_C const TImplementationProxy* ImplementationGroupProxy(
7feec50967db 201003_02
hgs
parents:
diff changeset
    33
        TInt& aTableCount )
7feec50967db 201003_02
hgs
parents:
diff changeset
    34
    {
92
hgs
parents: 85
diff changeset
    35
    aTableCount = sizeof( ImplementationTable ) / sizeof(TImplementationProxy);
85
7feec50967db 201003_02
hgs
parents:
diff changeset
    36
    return ImplementationTable;
7feec50967db 201003_02
hgs
parents:
diff changeset
    37
    }