equal
deleted
inserted
replaced
29 #endif |
29 #endif |
30 |
30 |
31 #include <dummyldd.h> |
31 #include <dummyldd.h> |
32 #define __D32USBC_H__ // ensure that d32usbc is ignored, and dummyldd used instead |
32 #define __D32USBC_H__ // ensure that d32usbc is ignored, and dummyldd used instead |
33 #include "CUsbBatteryChargingTestPlugin.h" |
33 #include "CUsbBatteryChargingTestPlugin.h" |
|
34 #include "OstTraceDefinitions.h" |
|
35 #ifdef OST_TRACE_COMPILER_IN_USE |
|
36 #include "CUsbBatteryChargingTestPluginTraces.h" |
|
37 #endif |
|
38 |
34 |
39 |
35 // Define the private interface UIDs |
40 // Define the private interface UIDs |
36 const TImplementationProxy ImplementationTable[] = |
41 const TImplementationProxy ImplementationTable[] = |
37 { |
42 { |
38 IMPLEMENTATION_PROXY_ENTRY(0x1020DEA8, CUsbBatteryChargingTestPlugin::NewL), |
43 IMPLEMENTATION_PROXY_ENTRY(0x1020DEA8, CUsbBatteryChargingTestPlugin::NewL), |
45 return ImplementationTable; |
50 return ImplementationTable; |
46 } |
51 } |
47 |
52 |
48 CUsbBatteryChargingTestPlugin* CUsbBatteryChargingTestPlugin::NewL(MUsbmanExtensionPluginObserver& aObserver) |
53 CUsbBatteryChargingTestPlugin* CUsbBatteryChargingTestPlugin::NewL(MUsbmanExtensionPluginObserver& aObserver) |
49 { |
54 { |
50 LOGTEXT(_L8("NewL Test plug-n")); |
55 OstTrace0( TRACE_NORMAL, CUSBBATTERYCHARGINGTESTPLUGIN_NEWL, _L8("NewL Test plug-n")); |
51 |
56 |
52 CUsbBatteryChargingTestPlugin* self = new(ELeave) CUsbBatteryChargingTestPlugin(aObserver); |
57 CUsbBatteryChargingTestPlugin* self = new(ELeave) CUsbBatteryChargingTestPlugin(aObserver); |
53 CleanupStack::PushL(self); |
58 CleanupStack::PushL(self); |
54 self->ConstructL(); |
59 self->ConstructL(); |
55 CleanupStack::Pop(self); |
60 CleanupStack::Pop(self); |
56 return self; |
61 return self; |