syncmlfw/ds/dsutils/ProfileUtil/src/NsmlProfileUtil.cpp
changeset 72 8ee66fcd0a7c
parent 0 b497e44ab2fc
child 73 ae69c2e8bc34
equal deleted inserted replaced
68:415c00f1675d 72:8ee66fcd0a7c
   188 	    contentData->SetContentEnabled(contentType->IntValue(EDSAdapterEnabled));
   188 	    contentData->SetContentEnabled(contentType->IntValue(EDSAdapterEnabled));
   189 	    
   189 	    
   190 	    //SyncType is same for all the contents from UI
   190 	    //SyncType is same for all the contents from UI
   191 	    iSyncType=static_cast<TSmlSyncType>(contentType->IntValue(EDSAdapterSyncType));
   191 	    iSyncType=static_cast<TSmlSyncType>(contentType->IntValue(EDSAdapterSyncType));
   192 	    // Add to this object
   192 	    // Add to this object
   193 	    iContents.Append(contentData);			
   193 	    iContents.AppendL(contentData);			
   194 	}
   194 	}
   195 	
   195 	
   196 	// Cleanup
   196 	// Cleanup
   197 	delete profile;
   197 	delete profile;
   198 	delete dsSettings;
   198 	delete dsSettings;
   275 	        data->SetServerDataSourceL(*source); 
   275 	        data->SetServerDataSourceL(*source); 
   276 	        delete source; // Memory allocate in SetServerDataSource 
   276 	        delete source; // Memory allocate in SetServerDataSource 
   277 	        
   277 	        
   278 	        data->SetContentEnabled(stream.ReadInt32L()); 	
   278 	        data->SetContentEnabled(stream.ReadInt32L()); 	
   279 	        
   279 	        
   280 	        iContents.Append(data);
   280 	        iContents.AppendL(data);
   281 	    }
   281 	    }
   282 	    
   282 	    
   283 	    iSyncType=static_cast<TSmlSyncType>(stream.ReadInt32L());
   283 	    iSyncType=static_cast<TSmlSyncType>(stream.ReadInt32L());
   284     }
   284     }
   285       
   285