1.1 --- a/epoc32/include/app/calentry.h Wed Mar 31 12:27:01 2010 +0100
1.2 +++ b/epoc32/include/app/calentry.h Wed Mar 31 12:33:34 2010 +0100
1.3 @@ -1,9 +1,9 @@
1.4 // Copyright (c) 2005-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 @@ -18,11 +18,41 @@
1.16
1.17 #include <calcommon.h>
1.18
1.19 +/** Minimum latitude in degrees.
1.20 +@see CCalGeoValue::SetLatLongL
1.21 +@publishedAll
1.22 +@released
1.23 +*/
1.24 const TReal KCalGEOMinLatitude = -90;
1.25 +
1.26 +/** Maximum latitude in degrees.
1.27 +@see CCalGeoValue::SetLatLongL
1.28 +@publishedAll
1.29 +@released
1.30 +*/
1.31 const TReal KCalGEOMaxLatitude = 90;
1.32 +
1.33 +/** Minimum longitude in degrees.
1.34 +@see CCalGeoValue::SetLatLongL
1.35 +@publishedAll
1.36 +@released
1.37 +*/
1.38 const TReal KCalGEOMinLongitude = -180;
1.39 +
1.40 +/** Maximum longitude in degrees.
1.41 +@see CCalGeoValue::SetLatLongL
1.42 +@publishedAll
1.43 +@released
1.44 +*/
1.45 const TReal KCalGEOMaxLongitude = 180;
1.46
1.47 +/** Maximum number of decimal places for longitude and latitude values.
1.48 +The position specified to CCalGeoValue::SetLatLongL will be truncated
1.49 +to KGEOMaxDecimalPoint decimal places
1.50 +@see CCalGeoValue::SetLatLongL
1.51 +@publishedAll
1.52 +@released
1.53 +*/
1.54 const TUint KCalGEOMaxDecimalPlaces = 6;
1.55
1.56 class CCalAlarm;
1.57 @@ -164,7 +194,7 @@
1.58 is transparent and doesn't block time. Any higher values have an implementation-specific meaning.
1.59 In the iCalendar specification (RFC 2445), the TRANSP property can be either OPAQUE (blocks time) or TRANSPARENT (doesn't block time).
1.60 @publishedPartner
1.61 - @prototype
1.62 + @released
1.63 */
1.64 enum TTransp
1.65 {
1.66 @@ -283,18 +313,17 @@
1.67 IMPORT_C void SetGeoValueL(const CCalGeoValue& aGeoValue);
1.68 IMPORT_C void ClearGeoValueL();
1.69
1.70 - // Internal APIs (Used by Java)
1.71 IMPORT_C TCalTime NextInstanceForLocalUIDL(const TCalTime& aTime) const;
1.72 IMPORT_C TCalTime PreviousInstanceForLocalUIDL(const TCalTime& aTime) const;
1.73 -
1.74 +
1.75 IMPORT_C TCalTime FindRptUntilTimeL(TInt aCount);
1.76 -
1.77 -
1.78 +
1.79 public:
1.80 // Internal APIs
1.81 static CCalEntry* NewL(CCalEntryImpl* aImpl);
1.82 CCalEntryImpl* Impl() const;
1.83 -
1.84 + TUint8 ShortFileIdL();
1.85 +
1.86 private:
1.87 void ConstructL(TType aType, HBufC8* aUid, TMethod aMethod, TUint aSeqNum, const TCalTime& aRecurrenceId, CalCommon::TRecurrenceRange aRange);
1.88 void ConstructL(TType aType, HBufC8* aUid, TMethod aMethod, TUint aSeqNum);
1.89 @@ -329,8 +358,8 @@
1.90
1.91 /** Class representing the geographical location of a calendar entry.
1.92 This corresponds to the GEO property as defined in vCalendar / iCalendar (RFC 2445). It contains a latitude and a longitude.
1.93 -@publishedPartner
1.94 -@prototype
1.95 +@publishedAll
1.96 +@released
1.97 */
1.98 NONSHARABLE_CLASS(CCalGeoValue) : public CBase
1.99 {
1.100 @@ -347,3 +376,4 @@
1.101 };
1.102
1.103 #endif // __CALENTRY_H__
1.104 +