17 |
17 |
18 |
18 |
19 // INCLUDE FILES |
19 // INCLUDE FILES |
20 #include <ecom/ecom.h> |
20 #include <ecom/ecom.h> |
21 #include <ecom/implementationproxy.h> |
21 #include <ecom/implementationproxy.h> |
22 #include "oma2agentfactory.h" |
22 #include "Oma2AgentFactory.h" |
23 |
23 |
24 // EXTERNAL DATA STRUCTURES |
24 // EXTERNAL DATA STRUCTURES |
25 //extern ?external_data; |
25 //extern ?external_data; |
26 |
26 |
27 // EXTERNAL FUNCTION PROTOTYPES |
27 // EXTERNAL FUNCTION PROTOTYPES |
28 //extern ?external_function( ?arg_type,?arg_type ); |
28 //extern ?external_function( ?arg_type,?arg_type ); |
29 |
29 |
30 // CONSTANTS |
30 // CONSTANTS |
31 |
31 |
32 /** Implementation table is required by ECom. Allows alternative |
32 /** Implementation table is required by ECom. Allows alternative |
33 New methods to be specified. |
33 New methods to be specified. |
34 */ |
34 */ |
35 |
35 |
36 const TImplementationProxy ImplementationTable[] = |
36 const TImplementationProxy ImplementationTable[] = |
37 { |
37 { |
38 #ifdef __EABI__ |
38 #ifdef __EABI__ |
39 IMPLEMENTATION_PROXY_ENTRY(0x101F6DB4, |
39 IMPLEMENTATION_PROXY_ENTRY(0x101F6DB4, |
40 ContentAccess::COma2AgentFactory::NewL) |
40 ContentAccess::COma2AgentFactory::NewL) |
41 #else |
41 #else |
42 { {0x101F6DB4}, ContentAccess::COma2AgentFactory::NewL} |
42 { {0x101F6DB4}, ContentAccess::COma2AgentFactory::NewL} |
43 #endif |
43 #endif |
44 }; |
44 }; |
45 |
45 |
46 |
46 |
47 // MACROS |
47 // MACROS |
48 //#define ?macro ?macro_def |
48 //#define ?macro ?macro_def |
49 |
49 |
67 // ImplementationGroupProxy: Lookup method required by ECom |
67 // ImplementationGroupProxy: Lookup method required by ECom |
68 // Returns the ImplementationTable to the ECom framework |
68 // Returns the ImplementationTable to the ECom framework |
69 // ----------------------------------------------------------------------------- |
69 // ----------------------------------------------------------------------------- |
70 // |
70 // |
71 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount) |
71 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount) |
72 { |
72 { |
73 aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy); |
73 aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy); |
74 return ImplementationTable; |
74 return ImplementationTable; |
75 } |
75 } |
76 |
76 |
77 |
77 |
78 // End of File |
78 // End of File |