--- a/epoc32/include/app/smutset.h Wed Mar 31 12:27:01 2010 +0100
+++ b/epoc32/include/app/smutset.h Wed Mar 31 12:33:34 2010 +0100
@@ -1,9 +1,9 @@
// Copyright (c) 1999-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
-// 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
+// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
-// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
@@ -11,14 +11,16 @@
// Contributors:
//
// Description:
+// SMUTSET.H
//
-
+/**
+ * @file
+ * @publishedAll
+ * @released
+ */
#ifndef __SMUTSET_H__
#define __SMUTSET_H__
-
-
-
#include <gsmumsg.h>
#include <msvrcpt.h>
#include <msvstore.h>
@@ -176,7 +178,7 @@
The settings classes CSmsMessageSettings and CSmsSettings use these flags to
store the specified information.
-@internalComponent
+@publishedAll
@released
*/
enum TSmsSettingsFlags
@@ -184,7 +186,7 @@
/**
Mask that resets the flags.
*/
- ESmsSettingsNoFlags =0,
+ ESmsSettingsNoFlags =0x00000000,
/**
Flag that indicates if messages can be concatenated.
@@ -232,6 +234,11 @@
*/
ESmsSettingsUseServiceCenterTimeStamp =0x00000080,
/**
+Flag that indicates if message received from unknown port,
+discard the message without indicating the user.
+*/
+ ESmsSettingsDiscardUnknownPortMsgs =0x00000100,
+/**
Mask for the set of flags defined.
*/
ESmsSettingsMask =0x000000FF,
@@ -430,7 +437,7 @@
@publishedAll
@released
*/
-class CSmsMessageSettings : public CBase
+NONSHARABLE_CLASS(CSmsMessageSettings): public CBase
{
public:
IMPORT_C virtual void InternalizeL(RReadStream& aReadStream);
@@ -497,7 +504,7 @@
@publishedAll
@released
*/
-class CSmsSettings : public CSmsMessageSettings
+NONSHARABLE_CLASS(CSmsSettings): public CSmsMessageSettings
{
public:
@@ -618,6 +625,8 @@
inline void SetDescriptionLength(TInt aLength);
inline TInt DescriptionLength() const;
+ inline TBool DiscardUnknownPortMessage() const;
+ inline void SetDiscardUnknownPortMessage(TBool aDeleteMessage);
TUint32 SettingsFlags() const;
void SetSettingsFlags(TUint32 aSetFlags);
@@ -652,7 +661,7 @@
@publishedAll
@released
*/
-class CSmsNumber : public CMsvRecipient
+NONSHARABLE_CLASS(CSmsNumber): public CMsvRecipient
{
public:
@@ -723,7 +732,7 @@
@publishedAll
@released
*/
-class CSmsServiceCenter : public CBase
+NONSHARABLE_CLASS (CSmsServiceCenter) : public CBase
{
public:
IMPORT_C static CSmsServiceCenter* NewL();