epoc32/include/app/vcal.h
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
     1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // 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
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     7 //
     8 // Initial Contributors:
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
     9 // Nokia Corporation - initial contribution.
    10 //
    10 //
    11 // Contributors:
    11 // Contributors:
    22 
    22 
    23 #if !defined(__VRECUR_H__)
    23 #if !defined(__VRECUR_H__)
    24 #include <vrecur.h>
    24 #include <vrecur.h>
    25 #endif
    25 #endif
    26 
    26 
       
    27 
       
    28 /** This constant is for internal use only.
       
    29 @internalTechnology
       
    30 */
    27 _LIT(KVersitTokenVCalVersionNo, "1.0");
    31 _LIT(KVersitTokenVCalVersionNo, "1.0");
       
    32 
    28 
    33 
    29 //
    34 //
    30 // CParserVCal
    35 // CParserVCal
    31 //
    36 //
    32 class CParserVCal : public CVersitParser
    37 class CParserVCal : public CVersitParser
    99 	{
   104 	{
   100 public:
   105 public:
   101 	IMPORT_C static CVersitAlarm* NewL(TVersitDateTime* aRunTime, TTime* aSnoozeTime, TInt aRepeatCount, const TDesC& aAudioContent, const TDesC& aNote);
   106 	IMPORT_C static CVersitAlarm* NewL(TVersitDateTime* aRunTime, TTime* aSnoozeTime, TInt aRepeatCount, const TDesC& aAudioContent, const TDesC& aNote);
   102 	IMPORT_C ~CVersitAlarm();
   107 	IMPORT_C ~CVersitAlarm();
   103 private:
   108 private:
   104 	CVersitAlarm(TVersitDateTime* aRunTime, TTime* aSnoozeTime, TInt aRepeatCount);
   109 	CVersitAlarm(TInt aRepeatCount);
   105 	void ConstructL(const TDesC& aAudioContent, const TDesC& aNote);
   110 	void ConstructL(const TDesC& aAudioContent, const TDesC& aNote, TVersitDateTime* aRunTime, TTime* aSnoozeTime);
   106 public:	
   111 public:	
   107 	/** The date/time for the alarm. */
   112 	/** The date/time for the alarm. */
   108 	TVersitDateTime* iRunTime;
   113 	TVersitDateTime* iRunTime;
   109 	/** The amount of time the alarm will be snoozed (optional). */
   114 	/** The amount of time the alarm will be snoozed (optional). */
   110 	TTime* iSnoozeTime;
   115 	TTime* iSnoozeTime;
   128 An object of this class is owned by the CParserPropertyValueAlarm class.
   133 An object of this class is owned by the CParserPropertyValueAlarm class.
   129 
   134 
   130 This class supports the following types of alarm:
   135 This class supports the following types of alarm:
   131 - X-EPOCALARM 
   136 - X-EPOCALARM 
   132 
   137 
   133 @publishedPartner
   138 @publishedAll
   134 @released
   139 @released
   135 */
   140 */
   136 	{
   141 	{
   137 public:
   142 public:
   138 
   143