emailservices/emailstore/message_store/server/src/ContainerStore.cpp
changeset 75 47d84de1c893
parent 59 16ed8d08d0b1
equal deleted inserted replaced
72:64e38f08e49c 75:47d84de1c893
     1 /*
     1 /*
     2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). 
     2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). 
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
  2383     TInt totalLength = TPropertiesSerializer::EFixedOverhead;
  2383     TInt totalLength = TPropertiesSerializer::EFixedOverhead;
  2384     totalLength += KMsgStorePropertyFolderType().Length() + intPckg.Length() + TPropertiesSerializer::EPerNodeOverhead;
  2384     totalLength += KMsgStorePropertyFolderType().Length() + intPckg.Length() + TPropertiesSerializer::EPerNodeOverhead;
  2385     totalLength += KMsgStorePropertyLocal().Length() + boolPckg.Length() + TPropertiesSerializer::EPerNodeOverhead;
  2385     totalLength += KMsgStorePropertyLocal().Length() + boolPckg.Length() + TPropertiesSerializer::EPerNodeOverhead;
  2386     
  2386     
  2387     RBuf8 properties;
  2387     RBuf8 properties;
  2388     properties.Create( totalLength );
  2388     properties.CreateL( totalLength );
  2389     CleanupClosePushL( properties );
  2389     CleanupClosePushL( properties );
  2390     
  2390     
  2391     for ( TUint32 i = EMsgStoreInbox; i <= EMsgStoreDeleted; i++ )
  2391     for ( TUint32 i = EMsgStoreInbox; i <= EMsgStoreDeleted; i++ )
  2392         {
  2392         {
  2393         properties.SetLength( 0 );
  2393         properties.SetLength( 0 );