epoc32/include/gsmustor.h
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
     1.1 --- a/epoc32/include/gsmustor.h	Wed Mar 31 12:27:01 2010 +0100
     1.2 +++ b/epoc32/include/gsmustor.h	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -1,9 +1,9 @@
     1.4  // Copyright (c) 1999-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5  // All rights reserved.
     1.6  // This component and the accompanying materials are made available
     1.7 -// under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     1.8 +// under the terms of "Eclipse Public License v1.0"
     1.9  // which accompanies this distribution, and is available
    1.10 -// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.11 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.12  //
    1.13  // Initial Contributors:
    1.14  // Nokia Corporation - initial contribution.
    1.15 @@ -19,8 +19,6 @@
    1.16  // 
    1.17  //
    1.18  
    1.19 -
    1.20 -
    1.21  /**
    1.22   @file
    1.23  */
    1.24 @@ -205,22 +203,22 @@
    1.25  private:
    1.26  	enum TSAREntryFlags
    1.27  		{
    1.28 -		ESAREntryIsDeleted=0x01, ///< indicates that this entry is deleted
    1.29 -		ESAREntryIsAdded=0x02    ///< indicated that this entry is added
    1.30 +		ESAREntryIsDeleted=0x01, //< indicates that this entry is deleted
    1.31 +		ESAREntryIsAdded=0x02    //< indicated that this entry is added
    1.32  		};
    1.33  private:
    1.34 -	TInt iReference; ///< concatenation reference
    1.35 -	TInt iTotal;     ///< total number of PDUs in this SMS message
    1.36 -	TInt iCount;     ///< number of PDUs sent/received for this SMS message
    1.37 +	TInt iReference; //< concatenation reference
    1.38 +	TInt iTotal;     //< total number of PDUs in this SMS message
    1.39 +	TInt iCount;     //< number of PDUs sent/received for this SMS message
    1.40  protected:
    1.41 -	TInt iData1;     /// TODO should be TUint32
    1.42 -	TInt iData2;     ///< Log server ID
    1.43 +	TInt iData1;     // TODO should be TUint32
    1.44 +	TInt iData2;     //< Log server ID
    1.45  	TInt iData3;
    1.46  	TInt iData4;
    1.47  private:
    1.48 -	TBuf<ESmsSAREntryDescriptionLength> iDescription1; ///< first 32 characters from buffer
    1.49 -	TBuf<ESmsSAREntryDescriptionLength> iDescription2; ///< original address
    1.50 -	TTime iTime;                                       ///< time when message was sent/received
    1.51 +	TBuf<ESmsSAREntryDescriptionLength> iDescription1; //< first 32 characters from buffer
    1.52 +	TBuf<ESmsSAREntryDescriptionLength> iDescription2; //< original address
    1.53 +	TTime iTime;                                       //< time when message was sent/received
    1.54  	TStreamId iDataStreamId;
    1.55  	TInt iFlags;  //  Not externalized
    1.56  	friend class CSARStore;
    1.57 @@ -484,16 +482,19 @@
    1.58  		};
    1.59  
    1.60  protected:
    1.61 -	RFs& iFs;                             ///< File server handle.
    1.62 +	RFs& iFs;                             //< File server handle.
    1.63 +	/** Maximum number of SMS messages that can be stored in segmentation store.*/
    1.64 +	TInt iMaxmumNumberOfMessagesInSegmentationStore;
    1.65 +	
    1.66  private:
    1.67  
    1.68 -	CFileStore* iFileStore;               ///< pointer to the file store
    1.69 -	CArrayFixFlat<TSAREntry> iEntryArray; ///< array of SAR entries
    1.70 -	TStreamId iExtraStreamId;             ///< used for any other data that needs persisting
    1.71 -	TInt iCommitCount;                    ///< counts number of Commit's - used for CompactL
    1.72 -	TPtrC iFullName;                      ///< holds the name of the File Store
    1.73 +	CFileStore* iFileStore;               //< pointer to the file store
    1.74 +	CArrayFixSeg<TSAREntry> iEntryArray; //< array of SAR entries
    1.75 +	TStreamId iExtraStreamId;             //< used for any other data that needs persisting
    1.76 +	TInt iCommitCount;                    //< counts number of Commit's - used for CompactL
    1.77 +	TPtrC iFullName;                      //< holds the name of the File Store
    1.78  	TUid iThirdUid;
    1.79 -	TBool iInTransaction;					///< For debugging purposes to ensure only one transaction at a time
    1.80 +	TBool iInTransaction;					//< For debugging purposes to ensure only one transaction at a time
    1.81  	};
    1.82  
    1.83  /**