1 // Copyright (c) 1999-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 #ifndef MSV_ENTRY_SCHEDULE_DATA_H_
17 #define MSV_ENTRY_SCHEDULE_DATA_H_
36 const TUid KUidMsvFileScheduleData = {0x100056A2}; //Used by TMsvEntryScheduleData
37 const TInt16 KMsvEntryScheduleDataVersion = 1;
41 // TMsvEntryScheduleData Declaration
46 Stores message-specific data related to scheduling.
48 The data is not required by the Client/UI side. This data is stored in a
49 stream associated with the TMsvEntry.
55 class TMsvEntryScheduleData
58 IMPORT_C TMsvEntryScheduleData();
60 IMPORT_C void RestoreL(CMsvStore& aStore);
61 IMPORT_C void StoreL(CMsvStore& aStore) const;
62 IMPORT_C void RemoveL(CMsvStore& aStore) const;
64 IMPORT_C void Reset();
65 IMPORT_C TBool IsReset() const;
67 IMPORT_C TInt Retries() const;
68 IMPORT_C void IncreaseRetries();
69 IMPORT_C void ResetRetries();
72 The Task ID returned by the Task Scheduler when the message is
78 The TSchedulerItemRef returned by the Task Scheduler when the schedule
79 on which the message is scheduled is created.
81 TSchedulerItemRef iRef;
84 /** The number of retries that have been made to send this message. */
86 /** Structure version. */
89 void ExternalizeL(RWriteStream& aWriteStream) const;
90 void InternalizeL(RReadStream& aReadStream);