epoc32/include/app/smsclnt.h
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
     1.1 --- a/epoc32/include/app/smsclnt.h	Wed Mar 31 12:27:01 2010 +0100
     1.2 +++ b/epoc32/include/app/smsclnt.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 @@ -11,79 +11,19 @@
    1.16  // Contributors:
    1.17  //
    1.18  // Description:
    1.19 +// SMSCLNT.H
    1.20  //
    1.21 -
    1.22 +/**
    1.23 + * @file 
    1.24 + * @publishedAll
    1.25 + * @released
    1.26 + */
    1.27  #ifndef __SMSCLNT_H__
    1.28  #define __SMSCLNT_H__
    1.29  
    1.30  #include <mtclbase.h>
    1.31  #include <smuthdr.h>
    1.32  
    1.33 -
    1.34 -/**
    1.35 -The UID that indentifies the SMS message editor application.
    1.36 -
    1.37 -This is the response to the query for the KUidMsvMtmQueryEditorUidValue
    1.38 -capability.
    1.39 -
    1.40 -@see	CSmsClientMtm::QueryCapability
    1.41 -
    1.42 -@publishedPartner
    1.43 -@released
    1.44 -*/
    1.45 -const TInt KUidMsgSmsEditorAppVal=0x1000163f;
    1.46 -
    1.47 -/**
    1.48 -The maximum number of SMS PDUs allowed in a concatenated SMS message.
    1.49 -
    1.50 -Together with KSmcmMaxCharsInMessageConcatenated7Bit, this is the response to
    1.51 -the query for the KUidMtmQueryMaxTotalMsgSizeValue capability.
    1.52 -
    1.53 -@see	CSmsClientMtm::QueryCapability
    1.54 -@see	KSmcmMaxCharsInMessageConcatenated7Bit
    1.55 -
    1.56 -@internalComponent
    1.57 -@released
    1.58 -*/
    1.59 -const TInt KSmcmMaxMessageNumber=0x32;
    1.60 -
    1.61 -/**
    1.62 -The maximum number of characters in a concatenated SMS PDU.
    1.63 -
    1.64 -Together with KSmcmMaxMessageNumber, this is the response to the query for the
    1.65 -KUidMtmQueryMaxTotalMsgSizeValue capability.
    1.66 -
    1.67 -@see	CSmsClientMtm::QueryCapability
    1.68 -@see	KSmcmMaxCharsInMessageConcatenated7Bit
    1.69 -
    1.70 -@internalComponent
    1.71 -@released
    1.72 -*/
    1.73 -const TInt KSmcmMaxCharsInMessageConcatenated7Bit=0x99;
    1.74 -
    1.75 -/**
    1.76 -The maximum number of characters in a non-concatenated SMS PDU.
    1.77 -
    1.78 -This is the response to the query for the KUidMtmQueryMaxBodySizeValue
    1.79 -capability.
    1.80 -
    1.81 -@see	CSmsClientMtm::QueryCapability
    1.82 -
    1.83 -@internalComponent
    1.84 -@released
    1.85 -*/
    1.86 -const TInt KSmcmMaxTotalMsgSize=160;
    1.87 -
    1.88 -/**
    1.89 -The granularity of the in-memory buffer for CRichText objects.
    1.90 -
    1.91 -@see	CRichText::NewL
    1.92 -
    1.93 -@internalComponent
    1.94 -@released
    1.95 -*/
    1.96 -const TInt KSmcmRichTextConstant=256;
    1.97 -
    1.98  class CSmsHeader;
    1.99  class CSmsMessage;
   1.100  class CSmsSettings;
   1.101 @@ -118,7 +58,7 @@
   1.102  @publishedAll
   1.103  @released
   1.104  */
   1.105 -class CSmsClientMtm : public CBaseMtm
   1.106 +NONSHARABLE_CLASS (CSmsClientMtm) : public CBaseMtm
   1.107  	{
   1.108  public:
   1.109  
   1.110 @@ -135,8 +75,9 @@
   1.111  
   1.112  	IMPORT_C void RestoreServiceAndSettingsL();
   1.113  	IMPORT_C CSmsSimParamOperation* ReadSimParamsL(TRequestStatus& aObserverRequestStatus);
   1.114 -	IMPORT_C CSmsSimParamOperation* WriteSimParamsL(const CMobilePhoneSmspList& aList, TRequestStatus& aObserverRequestStatus); 
   1.115 -	
   1.116 +	IMPORT_C CSmsSimParamOperation* WriteSimParamsL(const CMobilePhoneSmspList& aList, TRequestStatus& aObserverRequestStatus);
   1.117 +	IMPORT_C void SaveMessageL(CMsvStore& aEditStore, TMsvEntry& aEntry);
   1.118 +	IMPORT_C void CreateMessageL(TMsvEntry& aEntry);
   1.119  	/** 
   1.120  	Sets the character encoding value. The character encoding value options are 7-bit,
   1.121  	8-bit and 16-Bit Unicode. By default the character set encoding is 7 bit encoding.