omadrm/drmengine/agentv2/src/Oma2Agent.cpp
changeset 0 95b198f216e5
child 18 8a03a285ab14
equal deleted inserted replaced
-1:000000000000 0:95b198f216e5
       
     1 /*
       
     2 * Copyright (c) 2002-2004 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:  ?Description
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // INCLUDE FILES
       
    20 #include <ecom/ecom.h>
       
    21 #include <ecom/implementationproxy.h>
       
    22 #include "oma2agentfactory.h"
       
    23 
       
    24 // EXTERNAL DATA STRUCTURES
       
    25 //extern  ?external_data;
       
    26 
       
    27 // EXTERNAL FUNCTION PROTOTYPES  
       
    28 //extern ?external_function( ?arg_type,?arg_type );
       
    29 
       
    30 // CONSTANTS
       
    31 
       
    32 /** Implementation table is required by ECom. Allows alternative
       
    33 	New methods to be specified.
       
    34 */
       
    35 
       
    36 const TImplementationProxy ImplementationTable[] =
       
    37 	{
       
    38 #ifdef __EABI__
       
    39 		IMPLEMENTATION_PROXY_ENTRY(0x101F6DB4,
       
    40             ContentAccess::COma2AgentFactory::NewL)
       
    41 #else
       
    42 		{ {0x101F6DB4}, ContentAccess::COma2AgentFactory::NewL}
       
    43 #endif
       
    44 	}; 
       
    45 
       
    46 
       
    47 // MACROS
       
    48 //#define ?macro ?macro_def
       
    49 
       
    50 // LOCAL CONSTANTS AND MACROS
       
    51 //const ?type ?constant_var = ?constant;
       
    52 //#define ?macro_name ?macro_def
       
    53 
       
    54 // MODULE DATA STRUCTURES
       
    55 //enum ?declaration
       
    56 //typedef ?declaration
       
    57 
       
    58 // LOCAL FUNCTION PROTOTYPES
       
    59 //?type ?function_name( ?arg_type, ?arg_type );
       
    60 
       
    61 // FORWARD DECLARATIONS
       
    62 //class ?FORWARD_CLASSNAME;
       
    63 
       
    64 // ========================== OTHER EXPORTED FUNCTIONS =========================
       
    65 
       
    66 // -----------------------------------------------------------------------------
       
    67 // ImplementationGroupProxy: Lookup method required by ECom
       
    68 // Returns the ImplementationTable to the  ECom framework
       
    69 // -----------------------------------------------------------------------------
       
    70 //
       
    71 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount)
       
    72 	{
       
    73 	aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
       
    74 	return ImplementationTable;
       
    75 	}
       
    76 
       
    77 
       
    78 //  End of File