void CSmsStatusReplierImpl::SetStatus(const TDesC& aName, const TDesC& aValue) { TInt pos; if (iNames->Find(aName, pos) == 0) { iValues->Delete(pos); iValues->InsertL(pos, aValue); } else { iNames->AppendL(aName); iValues->AppendL(aValue); } }
void CMMAAudioRecorderFactory::GetSupportedProtocolsL( const TDesC& aContentType, CDesC16Array& aProtocolArray) { // Support for MP4 recording disabled: All features cannot // be supported for MP4 capture at the moment (e.g. pause) if (IsSupportedContentTypeL(aContentType) && (aContentType != KContentTypeAudioMp4NotIncluded)) { aProtocolArray.AppendL(KMMACaptureProtocol); } }