--- a/piprofiler/plugins/PWRplugin/inc/PwrPlugin.h Wed Sep 15 00:19:18 2010 +0300
+++ b/piprofiler/plugins/PWRplugin/inc/PwrPlugin.h Wed Sep 15 13:53:27 2010 +0300
@@ -74,7 +74,7 @@
TInt CreateFirstSample();
void GetAttributesL(CArrayFixFlat<TSamplerAttributes>* aAttributes);
- TInt SetAttributesL(TSamplerAttributes aAttributes);
+ TInt SetAttributesL(TSamplerAttributes& aAttributes);
void InitiateSamplerAttributesL();
TInt ConvertRawSettingsToAttributes(CDesC8ArrayFlat* aSingleSettingArray);
@@ -108,9 +108,9 @@
};
#ifdef PWR_SAMPLER_BACKLIGHT
-class CProfilerPowerListener : public MHWRMBatteryPowerObserver, public MHWRMLightObserver
+class CProfilerPowerListener : public CBase, public MHWRMBatteryPowerObserver, public MHWRMLightObserver
#else
-class CProfilerPowerListener : public MHWRMBatteryPowerObserver
+class CProfilerPowerListener : public CBase, public MHWRMBatteryPowerObserver
#endif
{
public: