sdkcreationmw/sdkruntimes/AsyStub/src/AsyStubProxy.cpp
author Shabe Razvi <shaber@symbian.org>
Thu, 04 Nov 2010 17:22:05 +0000
changeset 4 b3b823debf08
parent 0 b26acd06ea60
permissions -rw-r--r--
Workaround for Bug 3917 - CWinsockInterface::DataSent calls NotifyDataSent which is not implemented.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
     1
/*
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
     2
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
     3
* All rights reserved.
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
     4
* This component and the accompanying materials are made available
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
     5
* under the terms of "Eclipse Public License v1.0"
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
     6
* which accompanies this distribution, and is available
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
     8
*
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
     9
* Initial Contributors:
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    10
* Nokia Corporation - initial contribution.
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    11
*
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    12
* Contributors:
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    13
*
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    14
* Description: 
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    15
*
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    16
*/
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    17
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    18
#include <e32std.h>
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    19
#include <ImplementationProxy.h>
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    20
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    21
#include "AsyStubMainServiceBase.h"
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    22
#include "AsyStubCmdHandlerBase.h"
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    23
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    24
// Map the interface implementation UIDs to implementation factory functions
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    25
const TImplementationProxy ImplementationTable[] =
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    26
    {       
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    27
        {{0x20006EF7},  (TProxyNewLPtr) CASYStubMainServiceBase::NewL},
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    28
        {{0x20006EF8},  (TProxyNewLPtr) CASYStubCmdHandlerBase::NewL}
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    29
    };
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    30
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    31
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    32
//
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    33
// ---------------------------------------------------------
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    34
// TImplementationProxy* ImplementationGroupProxy( TInt&)
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    35
// ---------------------------------------------------------
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    36
//  
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    37
// Exported proxy for instantiation method resolution.
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    38
EXPORT_C const TImplementationProxy* ImplementationGroupProxy( TInt& aTableCount )
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    39
    {
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    40
    aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    41
    return ImplementationTable;
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    42
    }