usbmgmt/usbmgr/host/functiondrivers/ms/msmm/referencepolicyplugin/src/proxy.cpp
branchRCL_3
changeset 15 f92a4f87e424
parent 0 c9bc50fca66e
child 16 012cc2ee6408
equal deleted inserted replaced
14:d3e8e7d462dd 15:f92a4f87e424
     1 /*
     1 /*
     2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    25 #include <ecom/implementationproxy.h>
    25 #include <ecom/implementationproxy.h>
    26 #include <usb/usblogger.h>
    26 #include <usb/usblogger.h>
    27 
    27 
    28 #include "referencepolicyplugin.h"
    28 #include "referencepolicyplugin.h"
    29 #include "referenceplugin.hrh"
    29 #include "referenceplugin.hrh"
       
    30 #include "OstTraceDefinitions.h"
       
    31 #ifdef OST_TRACE_COMPILER_IN_USE
       
    32 #include "proxyTraces.h"
       
    33 #endif
       
    34 
    30  
    35  
    31 #ifdef __FLOG_ACTIVE
       
    32 _LIT8(KLogComponent, "UsbHostMsmmRefPP");
       
    33 #endif
       
    34 
    36 
    35 // Provides a key value pair table, this is used to identify
    37 // Provides a key value pair table, this is used to identify
    36 // the correct construction function for the requested interface.
    38 // the correct construction function for the requested interface.
    37 const TImplementationProxy ImplementationTable[] =
    39 const TImplementationProxy ImplementationTable[] =
    38     {
    40     {
    42 
    44 
    43 // Function used to return an instance of the proxy table.
    45 // Function used to return an instance of the proxy table.
    44 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(
    46 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(
    45         TInt& aTableCount)
    47         TInt& aTableCount)
    46     {
    48     {
    47     LOGTEXT(_L(">>ImplementationGroupProxy()"));
    49     OstTrace0( TRACE_NORMAL, REF_REFERENCEPOLICYPLUGIN_SRC_IMPLEMENTATIONGROUPPROXY, 
       
    50             ">>ImplementationGroupProxy()" );
    48     aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
    51     aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
    49     LOGTEXT(_L("<<ImplementationGroupProxy()"));
    52     OstTrace0( TRACE_NORMAL, REF_REFERENCEPOLICYPLUGIN_SRC_IMPLEMENTATIONGROUPPROXY_DUP1, 
       
    53                 "<<ImplementationGroupProxy()" );
    50     return ImplementationTable;
    54     return ImplementationTable;
    51     }
    55     }
    52 
    56 
    53 // End of file
    57 // End of file