1.1 --- a/epoc32/include/app/smutset.h Wed Mar 31 12:27:01 2010 +0100
1.2 +++ b/epoc32/include/app/smutset.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,14 +11,16 @@
1.16 // Contributors:
1.17 //
1.18 // Description:
1.19 +// SMUTSET.H
1.20 //
1.21 -
1.22 +/**
1.23 + * @file
1.24 + * @publishedAll
1.25 + * @released
1.26 + */
1.27 #ifndef __SMUTSET_H__
1.28 #define __SMUTSET_H__
1.29
1.30 -
1.31 -
1.32 -
1.33 #include <gsmumsg.h>
1.34 #include <msvrcpt.h>
1.35 #include <msvstore.h>
1.36 @@ -176,7 +178,7 @@
1.37 The settings classes CSmsMessageSettings and CSmsSettings use these flags to
1.38 store the specified information.
1.39
1.40 -@internalComponent
1.41 +@publishedAll
1.42 @released
1.43 */
1.44 enum TSmsSettingsFlags
1.45 @@ -184,7 +186,7 @@
1.46 /**
1.47 Mask that resets the flags.
1.48 */
1.49 - ESmsSettingsNoFlags =0,
1.50 + ESmsSettingsNoFlags =0x00000000,
1.51 /**
1.52 Flag that indicates if messages can be concatenated.
1.53
1.54 @@ -232,6 +234,11 @@
1.55 */
1.56 ESmsSettingsUseServiceCenterTimeStamp =0x00000080,
1.57 /**
1.58 +Flag that indicates if message received from unknown port,
1.59 +discard the message without indicating the user.
1.60 +*/
1.61 + ESmsSettingsDiscardUnknownPortMsgs =0x00000100,
1.62 +/**
1.63 Mask for the set of flags defined.
1.64 */
1.65 ESmsSettingsMask =0x000000FF,
1.66 @@ -430,7 +437,7 @@
1.67 @publishedAll
1.68 @released
1.69 */
1.70 -class CSmsMessageSettings : public CBase
1.71 +NONSHARABLE_CLASS(CSmsMessageSettings): public CBase
1.72 {
1.73 public:
1.74 IMPORT_C virtual void InternalizeL(RReadStream& aReadStream);
1.75 @@ -497,7 +504,7 @@
1.76 @publishedAll
1.77 @released
1.78 */
1.79 -class CSmsSettings : public CSmsMessageSettings
1.80 +NONSHARABLE_CLASS(CSmsSettings): public CSmsMessageSettings
1.81 {
1.82 public:
1.83
1.84 @@ -618,6 +625,8 @@
1.85 inline void SetDescriptionLength(TInt aLength);
1.86 inline TInt DescriptionLength() const;
1.87
1.88 + inline TBool DiscardUnknownPortMessage() const;
1.89 + inline void SetDiscardUnknownPortMessage(TBool aDeleteMessage);
1.90 TUint32 SettingsFlags() const;
1.91 void SetSettingsFlags(TUint32 aSetFlags);
1.92
1.93 @@ -652,7 +661,7 @@
1.94 @publishedAll
1.95 @released
1.96 */
1.97 -class CSmsNumber : public CMsvRecipient
1.98 +NONSHARABLE_CLASS(CSmsNumber): public CMsvRecipient
1.99 {
1.100 public:
1.101
1.102 @@ -723,7 +732,7 @@
1.103 @publishedAll
1.104 @released
1.105 */
1.106 -class CSmsServiceCenter : public CBase
1.107 +NONSHARABLE_CLASS (CSmsServiceCenter) : public CBase
1.108 {
1.109 public:
1.110 IMPORT_C static CSmsServiceCenter* NewL();