piprofiler/plugins/PWRplugin/src/PwrPlugin.cpp
branchRCL_3
changeset 49 7fdc9a71d314
parent 46 e26895079d7c
equal deleted inserted replaced
46:e26895079d7c 49:7fdc9a71d314
   131 void CPwrPlugin::GetAttributesL(CArrayFixFlat<TSamplerAttributes>* aAttributes)
   131 void CPwrPlugin::GetAttributesL(CArrayFixFlat<TSamplerAttributes>* aAttributes)
   132     {
   132     {
   133     aAttributes->AppendL(iSamplerAttributes->At(0));
   133     aAttributes->AppendL(iSamplerAttributes->At(0));
   134     }
   134     }
   135 
   135 
   136 TInt CPwrPlugin::SetAttributesL(TSamplerAttributes aAttributes)
   136 TInt CPwrPlugin::SetAttributesL(TSamplerAttributes& aAttributes)
   137     {
   137     {
   138     TSamplerAttributes attr;
   138     TSamplerAttributes attr;
   139 
   139 
   140     attr = iSamplerAttributes->At(0);
   140     attr = iSamplerAttributes->At(0);
   141     // replace the old attribute container
   141     // replace the old attribute container