webservices/wsdescription/src/servicepolicy.cpp
changeset 1 272b002df977
parent 0 62f9d29f7211
child 11 6abf3d6055cd
child 29 5743aa3a72c3
equal deleted inserted replaced
0:62f9d29f7211 1:272b002df977
   129     }
   129     }
   130 
   130 
   131 //Adding client policy to SD
   131 //Adding client policy to SD
   132 TInt CServicePolicy::AddClientPolicyL(CSenElement* aTemplate)
   132 TInt CServicePolicy::AddClientPolicyL(CSenElement* aTemplate)
   133     {
   133     {
   134     CSenElement* pServicePolicyElement = AsElement().Element(KServicePolicyLocalName);
   134     /*CSenElement* pServicePolicyElement = AsElement().Element(KServicePolicyLocalName);*/
   135     CSenElement* pClientPolicyElement = AsElement().Element(KClientServicePolicyLocalName);
   135     CSenElement* pClientPolicyElement = AsElement().Element(KClientServicePolicyLocalName);
   136     
   136     
   137     if(!pClientPolicyElement)
   137     if(!pClientPolicyElement)
   138         {
   138         {
   139         pClientPolicyElement = AsElement().Element(KSenNsUri, KClientServicePolicyLocalName);
   139         pClientPolicyElement = AsElement().Element(KSenNsUri, KClientServicePolicyLocalName);